SetPVarInt / GetPVarInt vs Normal Vars.
#2

PVars can be used in any filterscripts and intractable

PVars will delete when OnPlayerDisconnect is called otherwise you can remove it manually

PVars are slower than object variables like 20%?

But I'd rather to use object variable if not going to intract them in another filterscript and yeah new EngineStatus[MAX_VEHICLES] is better.
Reply


Messages In This Thread
SetPVarInt / GetPVarInt vs Normal Vars. - by kingmk - 27.10.2017, 13:40
Re: SetPVarInt / GetPVarInt vs Normal Vars. - by 0x88 - 27.10.2017, 13:45
Re: SetPVarInt / GetPVarInt vs Normal Vars. - by kingmk - 27.10.2017, 13:48
Re: SetPVarInt / GetPVarInt vs Normal Vars. - by kingmk - 28.10.2017, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)