SA-MP Forums Archive
SendCilentMessage help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SendCilentMessage help (/showthread.php?tid=455155)



SendCilentMessage help - Inspiron - 31.07.2013

I am making a /credits command. But error.

Код:
SendClientMessage(playerid, 0xFFFF00AA, [BTR]BigTimeRush for scripting and hosting.)
ERROR:

Код:
error 029: invalid expression, assumed zero
error 017: undefined symbol "BTR"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: SendCilentMessage help - JimmyCh - 31.07.2013

pawn Код:
SendClientMessage(playerid, 0xFFFF00AA, "[BTR]BigTimeRush for scripting and hosting.")



Re: SendCilentMessage help - Inspiron - 01.08.2013

What was the reason -REP me ?? Huh , Even your code is not working o.O
Код:
cmds.pwn(96) : error 001: expected token: ";", but found "return"
cmds.pwn(96) : warning 217: loose indentation
HUH ?


Re: SendCilentMessage help - Translator - 01.08.2013

Quote:
Originally Posted by Inspiron
Посмотреть сообщение
What was the reason -REP me ?? Huh , Even your code is not working o.O
Код:
cmds.pwn(96) : error 001: expected token: ";", but found "return"
cmds.pwn(96) : warning 217: loose indentation
HUH ?
pawn Код:
SendClientMessage(playerid, 0xFFFF00AA, "[BTR]BigTimeRush for scripting and hosting.");
That should do it.


Re: SendCilentMessage help - justinnater - 01.08.2013

Edit: posted already


Re: SendCilentMessage help - Inspiron - 01.08.2013

Quote:
Originally Posted by Translator
Посмотреть сообщение
pawn Код:
SendClientMessage(playerid, 0xFFFF00AA, "[BTR]BigTimeRush for scripting and hosting.");
That should do it.
Thanks , I've could REPPED+ you if i was upto 50 posts .


Re: SendCilentMessage help - JimmyCh - 02.08.2013

If you don't even know you need to put ";", how is that my fault? rofl.