%L, %s, %d
Where can i read about these things? When which should be used?
|
Re: %L, %s, %d
Well, i know that %s is used for strings, %d for integers, but I don't know what for is %L.
I found something about it here: http://wiki.amxmodx.org/Advanced_Scripting_(AMX_Mod_X) |
Re: %L, %s, %d
%L is lang?
|
Re: %L, %s, %d
So doing something like this would be correct?
Code:
new const pref[] = "[AMXX]"Code:
client_print(id, print_chat, "%d Some text goes here.", pref) |
Re: %L, %s, %d
%d or %i for integer value.
%f for float value. %s for string array. %L for language file reference. |
Re: %L, %s, %d
%c for character
%x, %X for hexa value %u for unsigned integer value %a for pointer to cell string (ArrayGetStringHandle) |
Re: %L, %s, %d
Quote:
|
Re: %L, %s, %d
http://www.cplusplus.com/reference/cstdio/fprintf/
Note that not all parameters/formats are supported in AMXX. |
| All times are GMT -4. The time now is 16:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.