29.03.2013, 12:46
Change it to this:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vehicleid == admincar && !IsPlayerAdmin(playerid))
{
GameTextForPlayer(playerid, "FOR ADMINS ONLY!", 3000, 3);
ClearAnimations(playerid);
}
return 1;
}