19.03.2013, 03:26
Код:
if(strcmp(cmdtext,"/pulso",true) == 0) { new VeiculoDaPM = GetPlayerVehicleID(playerid); new VeiculoDaPMModelo = GetPlayerVehicleID(playerid); new Float:X,Float:Y,Float:Z; if(VeiculoDaPMModelo == 432) { if(IsAPoliciaCar(VeiculoDaPM)) { if(PontoProximo(10.0,playerid,X,Y,Z)) { for(new i=0; i<MAX_PLAYERS; i++) { SetVehicleEngine(i, StatusOFF); } } } } return 1; }