Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
youmean thisone?
Colour embedding:
You can use {RRGGBB} (hex) strings embedded in text to change the text colour. This works in the chat window, in dialogs, in 3D text labels, and in numberplates. Colour codes are automatically filtered with () in player chat text. The only exception to the colour code filtering is input dialog response text.
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
no.. its to hard to use..
the simple one like this /g helo! it will show to all but the color is green
only vip member
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
im gonna try this now
if(vip[playerid] != 0)
{
new col=GetPlayerColor(playerid);
new s[128],n[32];
GetPlayerName(playerid,n,32);
format(s,128,"%s: %s",n,text);
SendClientMessageToAll(col,s);
return 0;
}
under on playertext
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
and how about vip system ?
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
if(vip[playerid]) thats the var i use. does he want a vip system too?
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
but i dn't hv the vip system..
how to make the vip system first ?
without the register of course
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
well its error.. cannot be compile.. the error is pawno is stop working when i compile
what happen ?
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
i dont know. works fine for me and sasino. did you edit the code?
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
send me your with pastebin.com
please help / solidfiles.com
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
your missing the braces on OnPlayerText. also include zcmdand sscanf
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
thats just to make someone a vip. if you wanna add cmds just add a check like if(vip[playerid]) etc
Posts: 125
Threads: 26
Joined: Mar 2011
Reputation:
0
the compiling is success,, but in game its still don;t working.. why ??
first the /setvip its unidentified command .. its weird
Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
did you load it in the firstplace?