07.12.2009, 14:28
Hey,i got problem.i wanted to make that zombies can not drive with vehicles,but humans cant 2...heres the code
whats wrong with it
whats wrong with it
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if (playerid,TEAM_ZOMBIE) { RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid,TEAM_ZOMBIE_COLOR,"Zombies can not drive with vehicles"); } return 1; }