Jump to content

LyN

Member
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by LyN

  1. Încearcă așa if(dialogid == DIALOG_SKIP) { if(IsPlayerConnected(playerid)) { //foreach(Player,i)//aici e problema new i = playerid; if(TutTime >= 1) { TutTime = 99; PlayerInfo[pTut] = 1; gOoc = 0; gNews = 0; gFam = 0; gRad = 0; gTeamFac = 0; gClChat = 0; TogglePlayerControllable(i, 1); SetCameraBehindPlayer(i); SpawnPlayer(i); TogglePlayerControllable(i,true); PlayerPlaySound(i, 1255, 0.0, 0.0, 0.0); TogglePlayerControllable(i,1); SetPlayerToTeamColor(i); SetPlayerVirtualWorld(i, 0); TogglePlayerSpectating(i, 0); PlayerInfo[pModel] = 250; AfterTutorial = 0; PlayerTextDrawHide(i, Step[0]); PlayerTextDrawHide(i, Step[1]); PlayerTextDrawHide(i, Step[2]); PlayerTextDrawHide(i, Step[3]); PlayerTextDrawHide(i, Step[4]); PlayerTextDrawHide(i, Step[5]); PlayerTextDrawHide(i, Step[6]); PlayerTextDrawHide(i, Step[7]); PlayerTextDrawHide(i, Step[8]); PlayerTextDrawHide(i, Tutorial); } } return 1; }
  2. tu ai SetVehicleVirtualWorld(ExamCar, 69); modifica cu SetVehicleVirtualWorld(ExamCar[playerid], 69);
  3. SCMf(targetid, COLOR_WHITE, "Esti casatorit(a) cu %s %s", PlayerInfo[targetid][pPropose], (GetPlayerID(PlayerInfo[targetid][pPropose]) == INVALID_PLAYER_ID) ? ("offline") : ("online"));
  4. stock RespawnPVeh(vid,playerid) { new masinalui,carid; if(vid == personalcar[0][playerid]) { vehEngine[personalcar[0][playerid]] = 0; DestroyVehicle(personalcar[0][playerid]); OwnedVeh(personalcar[0][playerid]) = 0; carid = PlayerInfo[playerid][pPcarkey]; Gas[personalcar[0][playerid]] = CarInfo[carid][cGas]; masinalui = 1; SetVehicleHealth(carid, 999); }
  5. Ai probleme la ongamemodeinit. când ai modificat poate ai sters/adaugat ceva acolo fără să ști
  6. https://wiki.sa-mp.com/wiki/ShowPlayerDialog #define DIALOG_MAFIE 9797 CMD:test (playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_MAFIE, DIALOG_STYLE_LIST, "Titlu dialog", "mafie1\nmafie2", "select", ""); return true; }
  7. Te referi la senddeathmessage(kill list-ul ala)? https://wiki.sa-mp.com/wiki/SendDeathMessage
  8. Am rezolvat.. am uitat sa adaug SetSpawnInfo
×
×
  • Create New...