about the %'s
#1

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

%d is for integers, %s is for strings, %f is for floats.
Reply
#3

-> 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 '%'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)