Help! Scripting issues
#4

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;
}
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: 4 Guest(s)