Is a Color a string or variable
#1

hello I Have a question about this color
Код:
0xFF00FF00
is it a string or is it a variable if it is nether the tell what it is

I would like to make a command like this

pawn Код:
CMD:changecolor(playerid, params[])
{
    new color;
    if(sscanf(params,"i",color))
    {
        return SendClientMessage(playerid, RED, "SYNTAX /changecolor [color]");
    }
    SendClientMessage(playerid,color,"I like the color you picked");
    return 1;
}
SOLVED
Код:
0xFF00FF00
is a hex
Next question
how do you save a hex dini
SOLVED
dini_Intset works just fine
Reply


Messages In This Thread
how do you save a hex in dini - by horsemeat - 21.04.2013, 03:16
Re: Is a Color a string or variable - by FalconX - 21.04.2013, 03:20
Re: Is a Color a string or variable - by Pottus - 21.04.2013, 03:52
Re: Is a Color a string or variable - by horsemeat - 21.04.2013, 12:32

Forum Jump:


Users browsing this thread: 2 Guest(s)