Use one var in multiply filterscripts
#5

Or you can use PVars.
They are specific variables which can be set to a player and are NOT related to a specific script.
For example, in the gamemode if you do SetPVarInt(playerid, "Money", GetPlayerMoney(playerid));

In the filterscript you can do GetPVarInt(playerid, money);

It will return the same value as you set it in the gamemode.

For more info, look here - https://sampwiki.blast.hk/wiki/Per-player_variable_system
Reply


Messages In This Thread
Use one var in multiply filterscripts - by Swimor - 05.01.2013, 18:14
Re: Use one var in multiply filterscripts - by mastermax7777 - 05.01.2013, 18:15
Re: Use one var in multiply filterscripts - by Swimor - 05.01.2013, 18:22
Re: Use one var in multiply filterscripts - by mastermax7777 - 06.01.2013, 03:15
Re: Use one var in multiply filterscripts - by [HK]Ryder[AN] - 06.01.2013, 03:22
Re: Use one var in multiply filterscripts - by mastermax7777 - 06.01.2013, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)