Sorry,But need a help again.
#1

I need some help about this code.
Код:
new
	myVariable = 7;
printf("%d", myVariable);
myVariable = 8;
printf("%d", myVariable);
That " 7 " or " 8 " means what or what is its role at the script?
And " %d ", Means "Decleartion right?
Reply
#2

It just shows how to assign an integer value to a variable.
%d is used for integers (round numbers)
Reply
#3

Look at these.

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


Forum Jump:


Users browsing this thread: 3 Guest(s)