i have to admit: i was (still am indeed) using PVars for almost every variable. they are "slower", we ALL know that, but is listing 100 variables once per 4 seconds worth a /cry? it will not harm your server performance if you load a debug filterscript, handle some checks (your admin level==16? interior set properly?) with pvars.
if you script each single variable like
Код:
if(GotShit#1[playerid]>0) blablaa
if(GotShit#2[playerid]<4)blabla else something else blabla
if(GotEvenMoreAwesomeShit[playerid] equals blabla2 etcetcetc
this list could go on for 200 variables, its a fucking hazzle to manage all of them,
OR:
one single loop using GetPVarsUpperIndex(), maybe a proper dialog input+response.if you are done debugging, unload the filterscript which handles pvars. done.
to all who are complaining about the bad performance of PVars: try to script your own system which enables all scripts to access them. no file operations allowed = you'll fail.
i sometimes wonder why theyre got invented. to be ignored, i guess...