19.02.2012, 16:24
after looking again your missing a closing tag on the if statement
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
{
SendClientMessage(playerid, WHITE, "You must be a taxi driver to drive a taxi!");
RemovePlayerFromVehicle(playerid);
}