Saving multiple strings
#1

So right now I am using SetPVarString but thats limited to 1024 character(If I am right) like for example

PHP код:
GetPVarString(playerid"RAWR"msg2sizeof(msg2));
format(msgsizeof(msg), "%s RWR %s\n"namename2);
strcat(msg2,msg);
SetPVarString(playerid"RAWR"msg2); 
Is there a way not speaking of PVars but something so that I can make like
new rawrs[MAX_PLAYERS];

And like add a total of numbers to it so I can later extract with

PHP код:
for( new 0<= 50i++ )
    {
       if(
rawrs[playerid] != ) {
           
format(stringsizeof(string), "%s"rawrs[playerid]);
           
SendClientMessage(playeridCOLORstring);
           }
    } 
I hope someone understand what im trying to ask :O
Reply


Messages In This Thread
Saving multiple strings - by Glenn332 - 19.07.2015, 13:42
AW: Saving multiple strings - by BigBrainAFK - 19.07.2015, 13:44
Re: Saving multiple strings - by Glenn332 - 19.07.2015, 13:49
Re: Saving multiple strings - by Glenn332 - 20.07.2015, 14:36
Re: Saving multiple strings - by Glenn332 - 21.07.2015, 12:44
AW: Re: Saving multiple strings - by Mencent - 21.07.2015, 14:25
Re: AW: Re: Saving multiple strings - by Glenn332 - 21.07.2015, 14:37
AW: Saving multiple strings - by Mencent - 21.07.2015, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)