04.07.2012, 19:05
Is there any limit to PVars per player or at all?
new str[32];
for(new i = 0; i < 800; ++i)
{
format(str, 32, "PVAR%d", i);
SetPVarInt(playerid, str, 1);
}
for(new i = 0; i < 800; ++i)
{
format(str, 32, "PVAR%d", i);
printf("%d PVAR %d", i, GetPVarInt(playerid, str));
}
SetPVarInt(1000, "im_not_a_pvar", 1);//max player id is 999 i thinkz (0-999)
GetPVarInt(1000, "im_not_a_pvar");//will return 0