Global variables confusion
#4

if I correctly understand, u can add one more variable or u can just use PVar's

for example if player Y wants to sell a house to player X, you ucan use PVars like this:
SetPVarInt(X,"House",House[Y]);
and than u can adjust it after the purchase, like this:
HouseID[X] = GetPVarInt(X,"House");
HouseID[Y] = 0;
Reply


Messages In This Thread
Global variables confusion - by OdgFox - 03.02.2018, 06:01
Re: Global variables confusion - by jasperschellekens - 03.02.2018, 10:47
Re: Global variables confusion - by OdgFox - 03.02.2018, 14:56
Re: Global variables confusion - by Mugala - 03.02.2018, 16:35
Re: Global variables confusion - by OdgFox - 03.02.2018, 17:05
Re: Global variables confusion - by Mugala - 03.02.2018, 17:16
Re: Global variables confusion - by OdgFox - 03.02.2018, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)