05.02.2014, 15:40
Quote:
Код:
new PVarsCount; stock CreatePVar(playerid, varname[], type, value[]) { switch(type) { case 1: { SetPVarInt(playerid,varname,strval(value)); break; } case 2: { SetPVarString(playerid,varname,value); break; } case 3: { SetPVarFloat(playerid,varname,floatstr(value)); break; } } PVarsCount++; } stock DeletePVarEx(playerid,varname[]) { DeletePVar(playerid,varname[]); PVarsCount--; } stock GetPVarsCount() { return PVarsCount; } |