SA-MP Forums Archive
Help printing - 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: Help printing (/showthread.php?tid=633441)



Help printing - alexjanjaj - 30.04.2017

So in my code i have this:
printf("It took %d to get a right answer!", GetTickCount() - count);
count = 0;
It works fine but the problem is the following "It took ... to get the right answer" will display in the sa-mp prompt.
Is there any way to make it work with SendClientMessage so everyone on the server can see it?
Thanks in advance.


Re: Help printing - BiosMarcel - 30.04.2017

https://sampwiki.blast.hk/wiki/SendClientMessageToAll


Re: Help printing - alexjanjaj - 30.04.2017

Thanks for your reply,i have seen that syntaxt but the problem is it wont work for me since i dont have only the "message" but the following function after the message "GetTickCount() - count);"


Re: Help printing - Vince - 30.04.2017

https://sampwiki.blast.hk/wiki/Format


Re: Help printing - alexjanjaj - 30.04.2017

Thank you,seems i need to use the wiki more.