Color 0.3x
#9

just paste the upper code you posted, into your (gamemode/filter)script, best at some position where the other declarations are. then you may use that array for any purpose, here a check how the colour looks as chattext:
pawn Код:
CMD:colour(playerid,params[])
{
    new colourID;
    if(!sscanf(params,"d",colourID))
    {
        new string[128];
        format(string,sizeof(string),"this is colour %d.",colourID);
        SendClientMessage(playerid, VehicleColoursTableRGBA[colourID], string);
    }
    return 1;
}
Reply


Messages In This Thread
Color 0.3x - by raamiix - 25.03.2013, 15:42
Re: Color 0.3x - by Faisal_khan - 25.03.2013, 15:50
Re: Color 0.3x - by raamiix - 25.03.2013, 15:52
Re: Color 0.3x - by Dzines4SAMP - 25.03.2013, 15:53
Re: Color 0.3x - by Faisal_khan - 25.03.2013, 15:55
Re: Color 0.3x - by raamiix - 25.03.2013, 15:55
Re : Color 0.3x - by thegreathom - 25.03.2013, 15:56
Re: Re : Color 0.3x - by raamiix - 25.03.2013, 15:57
Re: Color 0.3x - by Babul - 25.03.2013, 15:59
Re : Color 0.3x - by thegreathom - 25.03.2013, 15:59

Forum Jump:


Users browsing this thread: 2 Guest(s)