How to make house enum to GVars/Player vars?
#1

Hello, I know how to use player variables, at the moment I'm not using them tho, But i want to start using them, I've found this include witch make you able to use "player variables" as normal variables, but now my question is, how to make a like house array, or somthing like in the old time i should do it like this,

(here is the GVar plugin link)
pawn Код:
enum houseinfoenum{
x,
y,
z,
//and all the other code here (hope you understand)
}

new houseinfo[MAX_HOUSES][houseinfoenum];
So, how can i do something like that with the GVar plugin or with that kind of fast variables?
(i know how to do it with playerinfo becuse you have one varialbe for every player then but is there any way of defining how many you want of each type, like this array i just explained)
Hope you understands :/ don't really know how to explain it.

Thanks for all answers
Reply


Messages In This Thread
How to make house enum to GVars/Player vars? - by Ranama - 20.08.2012, 20:55
Re: How to make house enum to GVars/Player vars? - by Ranama - 22.08.2012, 18:42
Re: How to make house enum to GVars/Player vars? - by Roko_foko - 22.08.2012, 19:49
Re: How to make house enum to GVars/Player vars? - by Ranama - 22.08.2012, 20:33
Re: How to make house enum to GVars/Player vars? - by ReVo_ - 22.08.2012, 21:05
Re: How to make house enum to GVars/Player vars? - by Vince - 22.08.2012, 21:30
Re: How to make house enum to GVars/Player vars? - by denNorske - 28.08.2012, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)