Posts: 1,087
Threads: 103
Joined: Mar 2009
Quote:
Originally Posted by еddy
pawn Код:
if(strcmp(cmdtext, "/yourcommand", true) == 0) { if (newstate==PLAYER_STATE_DRIVER) { if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 514) { if(avisado1[playerid]==-1) { GameTextForPlayer(playerid,"~w~Press ~b~Buttom 2~n~~w~to start ~r~Your~n~~w~mission",3000,5);//SetTimerEx("MandarMensaje",5500,0,"%d",playerid); } else { KillTimer(avisado1[playerid]); avisado1[playerid]=-1; } } } if(newstate==PLAYER_STATE_ONFOOT) { if((playerInMiniMission[playerid]!=0)&&(avisado1[playerid]==-1)) { GameTextForPlayer(playerid,"~You have ~r~10 sec ~n~~w~ to get a Truck",3000,4); avisado1[playerid]=SetTimerEx("terminarMission",10000,0,"%d",playerid); } } return 1; }
:d
|
nop. not this thanks for help anyways
I ment delete the keys that this thing will work only on a command