10.05.2011, 08:41
So para complementar:
Logo o "OnPlayerEnterVehicle" tambйm pode ser usado nestes casos.
pawn Код:
OnPlayerEnterVehicle(playerid,vehicleid,ispassanger)
{
if(GetPlayerVehicleID(playerid) == AdminCar && IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, 0xE8F230FF, "Esse veнculo й exclusivo para admins Rcon.");
return 1;
}
return 1;
}