13.10.2012, 20:09
So i'm using Dini but i understood that eache time we use if
the server need to earche the player name => open the file => check if example is on 1=> close the file
so my question is know if we set a kind of variable (idk if it's the correct name) and use it , it will be better
for example in onplayerconnect
en we can use in onplayerspawn
my question is if this is better than using (dini_Int(file, "example")== 1) every time
Код:
(dini_Int(file, "example")== 1)
so my question is know if we set a kind of variable (idk if it's the correct name) and use it , it will be better
for example in onplayerconnect
Код:
(dini_Int(file, "example")== 1){blabla[playerid] = 1;}
Код:
if(blabla[ playerid ] == 1) GivePlayerWeapon(playerid,X,X);