27.11.2012, 23:13
Tente:
OU
OBS: Nao testei.
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
for(new i=0;i<MAX_PLAYERS;i++)
if(GetPlayerWantedLevel(i) > 0) {
new VehicleID = GetPlayerVehicleID(playerid);
if(VehicleID == VP[0] || VP[1] || VP[2] || VP[3] || VP[4] || VP[5] && GetPlayerWantedLevel(playerid == 0))
{
SetPlayerArmour(playerid,100.0);
}
else{
}
return 1;
}
return 1;
}
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
for(new i=0;i<MAX_PLAYERS;i++)
if(GetPlayerWantedLevel(i) > 0) {
new VehicleID = GetPlayerVehicleID(playerid);
if(VehicleID == VP[0] || VP[1] || VP[2] || VP[3] || VP[4] || VP[5] && GetPlayerWantedLevel(i) > 0)
{
SetPlayerArmour(playerid,100.0);
}
else{
}
return 1;
}
return 1;
}