Help! Scripting issues
#5

Quote:
Originally Posted by ColdIce
Посмотреть сообщение
Didnt work :/
Quote:
Originally Posted by Tee
Посмотреть сообщение
Yea try this:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    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));
        return 1;
    }
    return 0;
}
I can't see the difference between the 2 codes...
pawn Код:
#define USE_DIALOGS         true
Make sure this is defined in LuxAdmin.
Reply


Messages In This Thread
Help! Scripting issues - by ColdIce - 02.05.2011, 18:59
Re: Help! Scripting issues - by Tee - 02.05.2011, 19:03
Re: Help! Scripting issues - by ColdIce - 02.05.2011, 23:03
Re: Help! Scripting issues - by Tee - 03.05.2011, 01:57
Re: Help! Scripting issues - by leong124 - 03.05.2011, 04:41
Re: Help! Scripting issues - by ColdIce - 03.05.2011, 08:31
Re: Help! Scripting issues - by ColdIce - 03.05.2011, 08:34
Re: Help! Scripting issues - by ColdIce - 03.05.2011, 16:56
Re: Help! Scripting issues - by MadeMan - 03.05.2011, 17:12
Re: Help! Scripting issues - by ColdIce - 03.05.2011, 17:57

Forum Jump:


Users browsing this thread: 5 Guest(s)