31.05.2015, 17:31
when player use pickup server got crashed help fast rep+
Код:
forward StealAgain(); public StealAgain() { Jetpack = CreatePickup(370,1,268.7132,1883.5077,-30.0938,-1); return 1; }
Код:
Jetpack = CreatePickup(370,1,268.7132,1883.5077,-30.0938,-1);
Код:
if(pickupid == Jetpack) { if(gTeam[playerid] == C1) return 0; else { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); SendClientMessage(playerid,-1,"{FF0000}[JETPACK]{ffffff}You stole the jetpack, quickly take it to the place on the map."); DestroyPickup(Jetpack); SetTimer("StealAgain",1200000,false); SetPlayerMapIcon(playerid,Ammu,-396.3205,2236.0513,42.4297,20,0,MAPICON_GLOBAL); GameTextForAll("~b~Cops ~N~~W~intruder stole the ~N~~R~jetpack~W~ ~N~stop him immediately!"); for(new i=0; i <MAX_PLAYERS; i++) { { } } } } return 1; }