20.07.2012, 12:14
have a look at the GVar Plugin
heres your code as example:
a gvar can be named - even better: to access the named variables, you may use any string:
heres your code as example:
pawn Код:
SetGVarInt("var",88,0);
pawn Код:
new string[16];
format(string,sizeof(string),"var");//feel free to add %d with ,playerid
new result=GetGVarInt(string,0);//now result contains 88