Problem with players colors
#1

pawn Код:
if(!strcmp(DOF2_GetString(pFile(playerid),"Clan"),"Civilian")) return SetPlayerColor(playerid,GetColor(playerid));
if(strcmp(DOF2_GetString(pFile(playerid),"Clan"),"Civilian")) return SetPlayerColor(playerid, PlayerColors[random(200)]);
its makes everybody the random color, even the people who is in clan
the players who is in clan is the first line

and the functions is working.. yes
Reply


Messages In This Thread
Problem with players colors - by Lirbo - 11.08.2014, 12:13
Re: Problem with players colors - by AzaMx - 11.08.2014, 12:56
Re: Problem with players colors - by Lirbo - 11.08.2014, 13:13
Re: Problem with players colors - by Lirbo - 11.08.2014, 18:28
Re: Problem with players colors - by Lirbo - 11.08.2014, 20:15
Re: Problem with players colors - by Lirbo - 12.08.2014, 09:55
Re: Problem with players colors - by Lirbo - 12.08.2014, 21:52
Re: Problem with players colors - by DaniceMcHarley - 12.08.2014, 22:03

Forum Jump:


Users browsing this thread: 2 Guest(s)