14.03.2014, 13:52
Help me!!
Hello everyone I am doing a system to privatize the voicoli but I do not understand where mistake!!
OnPlayerStateChange:
Hello everyone I am doing a system to privatize the voicoli but I do not understand where mistake!!
PHP код:
new EliPula1,EliPula2,EliPula3,EliPula4,EliPula5;
PHP код:
EliPula1 = CreateVehicle(497, -587.8943, 2605.2312, 65.8545, -94.1400, -1, -1, 100);
EliPula2 = CreateVehicle(497, -588.1317, 2581.3438, 65.8545, -89.5200, -1, -1, 100);
EliPula3 = CreateVehicle(497, -571.6002, 2581.2073, 65.8545, -89.7600, -1, -1, 100);
EliPula4 = CreateVehicle(497, -570.9694, 2604.8154, 65.8545, -89.7600, -1, -1, 100);
EliPula5 = CreateVehicle(497, -560.3613, 2593.6355, 65.8870, -88.7400, -1, -1, 100);
PHP код:
if(vehicleid == EliPula1 || EliPula2 || EliPula3 || EliPula4 || EliPula5)
{
if(pInfo[playerid][GradiPolizia] >= 1 || pInfo[playerid][pAdmin] >= 1 )
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY,"Polizia: You don't have the key car!");
}
}