01.02.2009, 16:55
So i have things set up like this:
But RemovePlayerFromVehicle just doesn't works... any suggestions?
pawn Code:
public OnPlayerEnterVehicle (playerid, vehicleid)
{
if (vehicleid == deathtruck)
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name,"Death_Angel",true) == 0)
{
}
else
{
RemovePlayerFromVehicle(playerid);
if (vehicleid == deathtruck)
SendClientMessage(playerid, 0xFFFFFFAA, "This Vehicle is For DeathAngel ONLY !");
}
return 1;
}