Does anybody has these functions link?
#1

the functions such as %s, %d, cause I've seen em' before but I dont remember, if anybody has it, please post here, I need
Reply
#2

use a string..
Reply
#3

Lul wut?

Are you looking for "format" (or "printf")?
Reply
#4

lol, I mean it : %s, %d, such as

SendClientMessageToAll(COR_WHITE, "Admin %s has set all health to %d");

cause I saw other "%", such as : %s,%d,%c.. and I dont remember the site which teachs it.
Reply
#5

%s - string
%d - decimal
%f - float
%i - integar

Example: format(string,sizeof(string),"%s is %d years old",Name,age);

Is that what you mean?
Reply
#6

yes, ty dude.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)