Chatbot
#9

pawn Код:
if(strcmp(cmdtext, "/paint", true) == 0)
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You must be in a vehicle!");
        ChangeVehicleColor(GetPlayerVehicleID(playerid), random(255), random(255));
        SendClientMessage(playerid, 0x6AF7E1FF,"Hope you like the new colour xD");
        return 1;
    }
    return 0;
}
pawn Код:
warning 225: unreachable code
Is the callback wrong?
Reply


Messages In This Thread
Chatbot - by ColdIce - 09.06.2011, 20:32
Re: Chatbot - by Mike Garber - 09.06.2011, 20:35
Re: Chatbot - by ColdIce - 09.06.2011, 20:37
Re: Chatbot - by Fj0rtizFredde - 09.06.2011, 20:38
Re: Chatbot - by Mike Garber - 09.06.2011, 20:41
Re: Chatbot - by ColdIce - 09.06.2011, 20:46
Re: Chatbot - by ColdIce - 09.06.2011, 21:56
Re: Chatbot - by Fj0rtizFredde - 09.06.2011, 21:59
Re: Chatbot - by ColdIce - 10.06.2011, 15:00
Re: Chatbot - by DRIFT_HUNTER - 10.06.2011, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)