29.07.2012, 06:59
I want to make the zombie team remove from car
cause zombie cant drive
is it supposed to be like this ?
if this correct/uncorrect
please tell me!
Tnx
cause zombie cant drive
is it supposed to be like this ?
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam[playerid] == TEAM_ZOMBIES) // Idk if its right
RemovePlayerFromVehicle(playerid); // or RemovePlayerFromVehicle();
SendClientMessage(playerid, COLOR_RED, "Error: Zombies can't drive a vehicle");
return 1;
}
please tell me!
Tnx