18.11.2012, 04:02
Quote:
It has no effect, yet no errors. Is there something I'm doing wrong here? I used your condition. And for the record, I already tried it without my removeswitch variable.
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new playersVehicle = GetPlayerVehicleID(playerid), playersSkin = GetPlayerSkin(playerid); if(48 < playersVehicle < 70 && playersSkin != 286 && playersSkin != 287) { removeswitch[playerid] = 1; SendClientMessage(playerid,COLOR_RED,"LEAVE THIS VEHICLE ALONE!"); } return 1; } |