Help a bit here
#2

well make the taxi cars into like new taxi1,taxi2; so under your gamemode it should bel ike this
pawn Код:
taxi1 = CreateVehicle...
taxi2 = CreateVehicle...
Under onplayerstatechange do this
pawn Код:
if(GetPlayerVehicleID(playerid) == taxi1)
    {
        if(PlayerData[playerid][TaxiDriver] == 0)
        {
            SendClientMessage(playerid,0xFF0000FF,"ERROR: You are not a taxi driver");
            RemovePlayerFromVehicle(playerid);
            }
    }
    if(GetPlayerVehicleID(playerid) == taxi2)
    {
        if(PlayerData[playerid][TaxiDriver] == 0)
        {
            SendClientMessage(playerid,0xFF0000FF,"ERROR: You are not a taxi driver");
            RemovePlayerFromVehicle(playerid);
            }
    }
Reply


Messages In This Thread
Help a bit here - by N0FeaR - 09.03.2012, 18:41
Re: Help a bit here - by Tanush123 - 09.03.2012, 19:43

Forum Jump:


Users browsing this thread: 3 Guest(s)