How to get string from textdraw?
#4

You didn't understand me but i figured out how to do that but i still have one small problem:

pawn Код:
new string2 = GetPVarInt(playerid, "Number");
format(string,60,"%d3",string2);
SetPVarInt(playerid, "Number", string);
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?
Reply


Messages In This Thread
Fixed! - by OUL - 27.07.2011, 19:11
Re: How to get string from textdraw? - by OUL - 27.07.2011, 20:41
Re: How to get string from textdraw? - by AndreT - 27.07.2011, 20:47
Re: How to get string from textdraw? - by OUL - 27.07.2011, 21:28
Re: How to get string from textdraw? - by OUL - 27.07.2011, 21:49
Re: How to get string from textdraw? - by AndreT - 27.07.2011, 21:57

Forum Jump:


Users browsing this thread: 1 Guest(s)