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
#2

Please explain in better ways..
Reply
#3

Quote:
Originally Posted by AzaMx
Посмотреть сообщение
Please explain in better ways..
Everybody is with random color instead only the civilians... the ppl who in clan supposed to get thier clan color...
to get clan color i got the function GetColor(playerid), but everybody here gets the civilian's color... (random)
Reply
#4

up........
Reply
#5

bump
Reply
#6

bump
Reply
#7

How much bumps i have to fucking do?!? plz answer!!
Reply
#8

You need to show how you saving/loading these colors not only loading them.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)