pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
static vid = GetPlayerVehicleID(playerid);
for(new v = 0; v < sizeof(TaxiCar); v++)
{
if(vid == TaxiCar[v])
{
if(PlayerInfo[playerid][pEmprego] != TAXISTA)
{
SendClientMessage(playerid, -1,"Vocк nгo й um taxista para dirigir esse veнculo.");
RemovePlayerFromVehicle(playerid);
}
}
}
}
return 1;
}
.