Remove player from Admin's vehicles
#1

Hello all, i made a small script to remove players from Admin's vehicles but it doesn't work -_-
Can you tell me what is the problem please ?

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (IsPlayerInVehicle(playerid, 3))
{
if (IsPlayerAdmin(playerid), = 0))
{
SendClientMessage(playerid, COLOR_RED, "This vehicle is an Admin's vehicle you can't drive it");
RemovePlayerFromVehicle(playerid);
}
}
Reply


Messages In This Thread
Remove player from Admin's vehicles - by will-56 - 18.03.2011, 19:17
Re: Remove player from Admin's vehicles - by GsT - 18.03.2011, 19:29
Re : Remove player from Admin's vehicles - by will-56 - 19.03.2011, 12:08
Re: Remove player from Admin's vehicles - by JaTochNietDan - 19.03.2011, 13:53
Re : Remove player from Admin's vehicles - by will-56 - 20.03.2011, 11:27

Forum Jump:


Users browsing this thread: 2 Guest(s)