27.07.2011, 21:28
You didn't understand me but i figured out how to do that but i still have one small problem:
OFC problem is in this 'SetPVarInt(playerid, "Number", string);'
I'm trying to LOAD data from PVar called 'Number' and add one number (in this case is that number 3) and put again that in PVar
I don't have an idea how to make that i know i shoud use PVarString but later i need to use StringToInt to can read string from '%d'
Maybe when i use strval?
pawn Код:
new string2 = GetPVarInt(playerid, "Number");
format(string,60,"%d3",string2);
SetPVarInt(playerid, "Number", string);
I'm trying to LOAD data from PVar called 'Number' and add one number (in this case is that number 3) and put again that in PVar
I don't have an idea how to make that i know i shoud use PVarString but later i need to use StringToInt to can read string from '%d'
Maybe when i use strval?