19.02.2012, 16:17
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
{
if(Player[playerid][Job] == 8 || Player[playerid][Job2] == 8)
{
SendClientMessage(playerid, WHITE, "You are now accepting taxi calls!");
OnTaxiDuty[playerid] = 1;
}
else
{
if(OnTaxiDuty[playerid] == 0)
{
SendClientMessage(playerid, WHITE, "You must be a taxi driver to drive a taxi!");
RemovePlayerFromVehicle(playerid);
}
}
}