01.06.2015, 05:43
It might be helpful for you.
PHP код:
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;
}