Help printing
#1

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

https://sampwiki.blast.hk/wiki/SendClientMessageToAll
Reply
#3

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);"
Reply
#4

https://sampwiki.blast.hk/wiki/Format
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)