SA-MP Forums Archive
How do a 3 numbers on id chat? - 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: How do a 3 numbers on id chat? (/showthread.php?tid=382278)



How do a 3 numbers on id chat? - SpϵϵD - 02.10.2012

Hello everyone,
How do a 3 numbers on id chat?
Like a [ID:009] or [ID:016] ...

TNX


Re: How do a 3 numbers on id chat? - Vince - 02.10.2012

%03d


Re: How do a 3 numbers on id chat? - SpϵϵD - 02.10.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
%03d
You can do it for me please?


Re: How do a 3 numbers on id chat? - Emmet_ - 02.10.2012

Quote:
Originally Posted by SpϵϵD
Посмотреть сообщение
You can do it for me please?
lol..

pawn Код:
new string[64];
format(string, sizeof(string), "[ID: %03d] ...", playerid);



Re: How do a 3 numbers on id chat? - SpϵϵD - 02.10.2012

FAIL XD
TNX Man.