about the %'s - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: about the %'s (
/showthread.php?tid=114588)
about the %'s -
PANNA - 19.12.2009
ok,
this is the last question for a long time
cain someone please explain what i can do, and when i use the %d or %s or %o .... i dunno them. :P
Re: about the %'s -
GTA_Rules - 19.12.2009
%d is for integers, %s is for strings, %f is for floats.
Re: about the %'s -
Correlli - 19.12.2009
->
https://sampwiki.blast.hk/wiki/Format
Quote:
Format Strings
Placeholder Meaning
%b Inserts a number at this position in binary radix
%c Inserts a single character.
%d Inserts an integer (whole) number
%f Inserts a floating point number.
%i Inserts an integer.
%s Inserts a string.
%x Inserts a number in hexadecimal notation.
%% Inserts the literal '%'
|