More command help [/changecolor]
#1

pawn Код:
if (strcmp("/cc", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            ChangeVehicleColor(//what ever needs to go here);
            SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: Your vehicles car color has now been changed.");
        }
        else SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: You must be in a vehicle to change your car color.");
        return 1;
    }
I wanna be able to change the car color, but let them choose what they want. If they are not in a vehicle, I wan't it to say "else SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: You must be in a vehicle to change your car color.");" as it already does, just help me with the "ChangeVehicleColor" part

Thanks in advanced,

I'm new to scripting.
Reply


Messages In This Thread
More command help [/changecolor] - by Kyle. - 20.01.2011, 02:30
Re: More command help [/changecolor] - by [UG]Scripter - 20.01.2011, 02:35
Re: More command help [/changecolor] - by Kyle. - 20.01.2011, 03:09
Re: More command help [/changecolor] - by Tee - 20.01.2011, 03:28
Re: More command help [/changecolor] - by Antonio [G-RP] - 20.01.2011, 03:54
Re: More command help [/changecolor] - by hoodline - 20.01.2011, 04:09
Re: More command help [/changecolor] - by Joe Staff - 20.01.2011, 04:16

Forum Jump:


Users browsing this thread: 2 Guest(s)