28.04.2012, 11:25
(
Последний раз редактировалось Rick_DR; 28.04.2012 в 12:47.
)
e para aplicar isto como seria ?
pawn Код:
if(newstate == PLAYER_STATE_DRIVER) {
new Vehicle = GetPlayerVehicleID(playerid);
if(Vehicle == stand) {
if(strcmp(PlayerName,"petrum32",true)) {
new mot, lu, alar, por, cap, porma, ob;
GetVehicleParamsEx(Stand, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(Stand, mot, lu, VEHICLE_PARAMS_ON, por, cap, porma, ob);
SendClientMessage(playerid, 0x33AA33AA, "Carro do Stand");
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof(pName));
new string[248];
format(string,sizeof(string),"{FFDD00}ALARME: {89A0FA}O {E80E24}%s {89A0FA}esta dentro de um carro do stand!",pName);
SendClientMessageToAll(0x679660AA, string);
}
}
}