[FilterScript] Hotdogs Job v1.0
#8

Look at: /hotdogs command , it will appear an aditional message that say that the player is not in a car even if he is
pawn Code:
if (strcmp("/hotdogs", cmdtext, true) == 0)
    {
        if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 588)
        {
            HotDog[playerid] = 1;
            new name[MAX_PLAYER_NAME], string[256];
            GetPlayerName(playerid, name, sizeof(name));

            format(string, sizeof(string), "{0000FF}[RgX:INFO]{FF0000}%s {FFFFFF}is now a Hotdog Delivery.", name );
            SendClientMessageToAll(-1, string);

            SetPlayerCheckpoint(playerid, 804.1773,-1455.8715,13.1253,10);
            SendClientMessage(playerid, -1,"{00FFFF}Job{FFFFFF}: Follow the red markers");
            return 1;
        }
         SendClientMessage(playerid, -1,"{CE0000}You have to be on a Hotdogs car to start the job!");
    }
    return 0;
}
Anyway good job..

You should put an else:
pawn Code:
else SendClientMessage(playerid, -1,"{CE0000}You have to be in a Hotdogs car to start the job!");
Reply


Messages In This Thread
[SIDE:JOB]Hotdogs v1.0 - by WhiteAngels - 02.02.2014, 05:39
Re: Hotdogs Job v1.0 - by WhiteAngels - 02.02.2014, 05:45
Re: Hotdogs Job v1.0 - by FarCry - 02.02.2014, 05:55
Re: Hotdogs Job v1.0 - by Team_PRO - 02.02.2014, 06:38
Re: Hotdogs Job v1.0 - by WhiteAngels - 02.02.2014, 07:01
Re: Hotdogs Job v1.0 - by aznpro12345 - 02.02.2014, 07:05
Re: Hotdogs Job v1.0 - by WhiteAngels - 02.02.2014, 07:20
Re: Hotdogs Job v1.0 - by XStormiest - 02.02.2014, 12:21
Re: Hotdogs Job v1.0 - by FreeWorld - 02.02.2014, 18:22
Re: Hotdogs Job v1.0 - by Snir_sofer - 03.02.2014, 00:30
Re: Hotdogs Job v1.0 - by WhiteAngels - 03.02.2014, 11:08
Re: Hotdogs Job v1.0 - by Krisna - 03.02.2014, 12:34
Re: Hotdogs Job v1.0 - by WhiteAngels - 05.02.2014, 09:42
Re: Hotdogs Job v1.0 - by VenomMancer - 07.03.2014, 05:01
Re: Hotdogs Job v1.0 - by AroseKhanNiazi - 25.05.2014, 15:58
Re: Hotdogs Job v1.0 - by iRaiDeN - 25.05.2014, 16:02
Re: Hotdogs Job v1.0 - by Clergy - 06.06.2014, 04:48
Re: Hotdogs Job v1.0 - by GeekSiMo - 06.06.2014, 05:33
Re: Hotdogs Job v1.0 - by WhiteAngels - 06.06.2014, 05:57
Re: Hotdogs Job v1.0 - by BlackEvils - 07.06.2014, 06:09
Re: Hotdogs Job v1.0 - by iRaiDeN - 07.06.2014, 07:50
Re: Hotdogs Job v1.0 - by kaloul - 04.08.2014, 13:33

Forum Jump:


Users browsing this thread: 3 Guest(s)