Help with edit (rep+)
#5

SendClientMessage has a color argument. add a color there.
eg
pawn Код:
SendClientMessage(playerid, 0xFFFFFFAA, "text"); //white

EDIT:
Quote:
Originally Posted by JamesC
Посмотреть сообщение
You didn't replace [color] with your desired colour. Also, that snippet has flawed logic. It'll fail if the player HAS more than 1000 score.

pawn Код:
if(GetPlayerScore(playerid) <= 1000) return SendClientMessage(playerid, REPLACE_ME_WITH_YOUR_COLOR,  "You have to get 1000 score before you can use this command");

o thanks for pointing that out. i often mix the greater than and the less than symbol :3
Reply


Messages In This Thread
Help with edit (rep+) - by boyan96 - 22.02.2012, 05:28
Re: Help with edit (rep+) - by emokidx - 22.02.2012, 05:31
Re: Help with edit (rep+) - by boyan96 - 22.02.2012, 05:52
Re: Help with edit (rep+) - by JamesC - 22.02.2012, 05:57
Re: Help with edit (rep+) - by emokidx - 22.02.2012, 05:59
Re: Help with edit (rep+) - by boyan96 - 22.02.2012, 06:17
Re: Help with edit (rep+) - by boyan96 - 22.02.2012, 06:54
Re: Help with edit (rep+) - by park4bmx - 22.02.2012, 06:56
Re: Help with edit (rep+) - by emokidx - 22.02.2012, 06:57

Forum Jump:


Users browsing this thread: 1 Guest(s)