GetPlayerColor
#1

is something wrong with this commnand: ?
Код:
if(!strcmp(cmdtext,"/cmd",true)){
new color;
color = GetPlayerColor(playerid);
			format(string,sizeof(string),"hex color: %x , dec color: %d",color,color);
			SendClientMessage(playerid, COLOR_ADMIN, string);
}
its returning message:
Код:
hex color: 0 , dec color: 0
please help

//edit:

i'm making something completely different but it's just a example

//edit2: ok it's solved, you can close it now
Reply


Messages In This Thread
GetPlayerColor - by DowNlOaD_ - 20.05.2010, 16:04
Re: GetPlayerColor - by MastahServers - 20.05.2010, 16:13
Re: GetPlayerColor - by Sergei - 20.05.2010, 16:15
Re: GetPlayerColor - by kadaradam - 08.07.2011, 15:22

Forum Jump:


Users browsing this thread: 1 Guest(s)