11.01.2017, 19:52
I download the GAdmin admin system by Gammix, but i saw he used alot of static variabiles , like this:
It's have an effect on the format? Or what? I mean , the static variabiles can be changed only from script and can't be changed in runtime.....
So why? I try to find the answer , but i can't find it...so i ask you
Код:
static string[250]; if (!text[0]) { format(string, sizeof (string), ""COL_WHITE"Write your message to "COL_LIGHT_BLUE"%s[%i] "COL_WHITE"(admin level %i | vip level %i)", ReturnPlayerName(targetid), targetid, p_Account[targetid][E_ACCOUNT_ADMIN_LEVEL], p_Account[targetid][E_ACCOUNT_VIP_LEVEL]); return Dialog_Show(playerid, DIALOG_PRIVATE_MESSAGE, DIALOG_STYLE_INPUT, "Private messaging...", string, "Send", "Cancel"); }
So why? I try to find the answer , but i can't find it...so i ask you