Jump to content

Tavi@SUPREME

Membru
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Tavi@SUPREME

  1. Am rezolvat problema singur, ms la toti. t/c
  2. Am panelul burned, cum trebuie configurat?
  3. Stie cineva ce are panelul burned? cand intru toate sunt anapoda/amestecate.
  4. Salutare! Caut o persoana cu care sa pot deschide un sv de SAMP, vreau sa fie o persoana matura care sa se ocupe de server, eu ma ocup de scripting. Cei interesati sa ma contacteze pe discord Tavi#2968
  5. Am o problema si nu stiu sa folosesc crashdetect si nativechecker.
  6. Cred ca e ceva problema la variabila balls, nu ma poate ajuta nimeni?
  7. RentVehicle e definita bine? Arata functia.
  8. Dupa ce pun primul balot imi pune cp, ar trebui dupa 5 baloti. Ma poate ajuta cineva? if(JobWorking[playerid] == 1 && PlayerInfo[playerid][pJob] == 1) { new car = GetClosestVehicle(playerid); if(!IsPlayerNearVehicle(playerid, car, 5) && !IsABoat(car)) return 1; else if(!IsPlayerNearVehicle(playerid, car, 10) && IsABoat(car)) return 1; if(GetPVarInt(playerid, "InHand") == 0) return 1; if(JobVehicle[playerid] != car) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu esti in spatele vehiculului tau de la job!"); SetPVarInt(playerid, "InHand", 0); SetPVarInt(playerid, "Pressed", 0); SetPlayerSpecialAction(playerid, 0); ClearAnimations(playerid); RemovePlayerAttachedObject(playerid, 7); if(GetPVarInt(playerid, "Balls") == 5) { SetPVarInt(playerid, "JobStep", 1); format(string, sizeof(string), "Du-te la checkpoint-ul de pe mapa pentru a livra balotii!"); SCM(playerid, COLOR_YELLOW, string); CP[playerid] = 59; RemovePlayerAttachedObject(playerid, 7); SetPlayerCheckpointEx(playerid, -63.0576,-1121.6006,1.1694, 5.0); } new object = CreateDynamicObject(1454, -2597.0762, -2638.4270, -5.3536, -87.6999, 90.4001, -87.1805); if(GetPVarInt(playerid, "Balls") == 1) AttachDynamicObjectToVehicle(object, JobVehicle[playerid], 0.000000, 1.500000, 0.000000, 0.0, 0.0, 0.0), BallObject[playerid][0] = object; if(GetPVarInt(playerid, "Balls") == 2) AttachDynamicObjectToVehicle(object, JobVehicle[playerid], 0.000000, -0.200000, 0.000000, 0.0, 0.0, 0.0), BallObject[playerid][1] = object; if(GetPVarInt(playerid, "Balls") == 3) AttachDynamicObjectToVehicle(object, JobVehicle[playerid], 0.000000, -1.899999, 0.000000, 0.0, 0.0, 0.0), BallObject[playerid][2] = object; if(GetPVarInt(playerid, "Balls") == 4) AttachDynamicObjectToVehicle(object, JobVehicle[playerid], 0.000000, -3.599999, 0.000000, 0.0, 0.0, 0.0), BallObject[playerid][3] = object; if(GetPVarInt(playerid, "Balls") == 5) AttachDynamicObjectToVehicle(object, JobVehicle[playerid], 0.000000, 0.600000, 0.500000, 0.0, 0.0, 0.0), BallObject[playerid][4] = object; BagTime[playerid] = 0; } } if(PlayerInfo[playerid][pJob] == 1 && JobWorking[playerid] == 1 && GetPVarInt(playerid, "JobStep") == 0 && GetPVarInt(playerid, "InHand") == 0) { if(GetPVarInt(playerid, "Pressed") == 1) return 1; for(new i = 0; i < sizeof(BalotPos); i++) { if(PlayerToPoint(7.0, playerid, BalotPos[0], BalotPos[1], BalotPos[2])) { SetPVarInt(playerid, "Pressed", 1); SetTimerEx("Baloteaza", 1000, 0, "%d", playerid); Freezed[playerid] = 1; } } } function Baloteaza(playerid) { if(IsPlayerLogged[playerid] == 0) return 1; if(GetPVarInt(playerid, "Balls") > 5) return 1; if(JobWorking[playerid] == 0) { SCM(playerid, COLOR_GRAD4, "Job esuat!"); ClearAnimations(playerid); return 1; } SetPVarInt(playerid, "Balls", GetPVarInt(playerid, "Balls")+1); SetPVarInt(playerid, "InHand", 1); SetPlayerAttachedObject( playerid, 7, 1454, 1, 0.187385, 0.559032, -0.002791, 93.806076, 91.723266, 0.000000, 0.442207, 1.000000, 0.799356 ); if(GetPVarInt(playerid, "Balls") <= 4) { new string[256]; format(string, sizeof(string), "Du-te la vehiculul de la job si apasa pe ~r~~h~tasta Y~w~~h~ pentru a pune Baloti!~n~Mai ai %d baloti.", 5-GetPVarInt(playerid, "Balls")); PlayerTextDrawSetString(playerid, InfosTD, string); PlayerTextDrawShow(playerid, InfosTD); } SetTimerEx("HideTextdraw", 7000, 0, "%d", playerid); BagTime[playerid] = 30; SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY); Freezed[playerid] = 0; return 1; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.