19.07.2015, 13:42
So right now I am using SetPVarString but thats limited to 1024 character(If I am right) like for example
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
I hope someone understand what im trying to ask :O
PHP код:
GetPVarString(playerid, "RAWR", msg2, sizeof(msg2));
format(msg, sizeof(msg), "%s RWR %s\n", name, name2);
strcat(msg2,msg);
SetPVarString(playerid, "RAWR", msg2);
new rawrs[MAX_PLAYERS];
And like add a total of numbers to it so I can later extract with
PHP код:
for( new i = 0; i <= 50; i++ )
{
if(rawrs[playerid] != 0 ) {
format(string, sizeof(string), "%s", rawrs[playerid]);
SendClientMessage(playerid, COLOR, string);
}
}