29.01.2011, 20:43
I'm making a function so when they type it, it makes a text label with what they want it to say right where they are. How can I do this?
new string[128];
format(string, sizeof(string), "%s", WhatTheySaid[playerid]); // Define WhatTheySaid[playerid] to what you want.
Create3DTextLabel(string, etc...)
Originally Posted by WIKI
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 '%' |