Quote:
Originally Posted by Max_Coldheart
pawn Код:
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(!ispassenger) { if(vehicleid == 579) { if(!IsPlayerAdmin(playerid) { SendClientMessage(playerid, -1, "Huntley can be driven only by admin."); ClearAnimations(playerid); return 1; } } } }
|
You forget the else with RemovePlayerFromVehicle.