SA-MP Forums Archive
[HELP] advise - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] advise (/showthread.php?tid=538720)



[HELP] advise - Luca12 - 23.09.2014

Hello guys. Can someone tell me what is best between those two:

this:

new boolomething[MAX_PLAYERS];

something[playerid] = true;

or this:

SetPVarInt(playerid,"something",1);

I was heard somewhere or read I don't know where that is example like bool here is better than pvars but I'm not sur really so I ask you guys. Thanks


Re: [HELP] advise - XStormiest - 23.09.2014

new boolomething[MAX_PLAYERS];
Is perfect, as for the
SetPVarInt(playerid,"something",1);
Read this, is usefull:
https://sampforum.blast.hk/showthread.php?tid=268499