This code doesn't work [HELP]
#5

At top of script
Код:
new Taxi1;
Under Gamemodeint
Код:
Taxi1 = CreateVehicle(   * Car Cordinates *
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        new vid = GetPlayerVehicleID(playerid);
        if(vid == Taxi1 && PInfo[playerid][JOB] != 1) // Change *Taxi* to Car Id and Pinfo into your playervariables
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, COLOR_GREY, "This car belongs to Fort Carson News.");
        }
      return 1;
}
    }
Reply


Messages In This Thread
This code doesn't work [HELP] - by Reklez - 22.03.2012, 02:17
Re: This code doesn't work [HELP] - by MP2 - 22.03.2012, 02:21
Re: This code doesn't work [HELP] - by Reklez - 22.03.2012, 02:24
Re: This code doesn't work [HELP] - by MP2 - 22.03.2012, 02:27
Re: This code doesn't work [HELP] - by GtasaPoliceModz - 22.03.2012, 02:37
Re: This code doesn't work [HELP] - by Reklez - 22.03.2012, 02:45
Re: This code doesn't work [HELP] - by Reklez - 22.03.2012, 03:24
Re: This code doesn't work [HELP] - by MP2 - 22.03.2012, 03:38
Re: This code doesn't work [HELP] - by Reklez - 22.03.2012, 03:57
Re: This code doesn't work [HELP] - by MP2 - 22.03.2012, 04:17

Forum Jump:


Users browsing this thread: 1 Guest(s)