Question about y_ini
#2

Assuming you have the enumerator and data saving setup:
pawn Код:
format(string),sizeof(string),"Test: %d",pInfo[playerid][Test]);
SendClientMessage(playerid,COLOR,string);
pInfo[playerid][Field] is used to access the enumerator, yours may be different depending on how your setup is.
pInfo is the name of the variable used to access the emunerator.
playerid is the player id to use to access the enumerator.
Field is the actual name of the enumerator you are trying to access.
My explanations might seem different to others but that's how I choose to understand it.
Reply


Messages In This Thread
Question about y_ini - by Brooks1 - 21.11.2014, 01:08
Re: Question about y_ini - by Banana_Ghost - 21.11.2014, 01:30
Re: Question about y_ini - by Brooks1 - 21.11.2014, 09:46
Re: Question about y_ini - by CoaPsyFactor - 21.11.2014, 09:49
Re: Question about y_ini - by Brooks1 - 21.11.2014, 09:56
Re: Question about y_ini - by CoaPsyFactor - 21.11.2014, 09:58
Re: Question about y_ini - by Brooks1 - 21.11.2014, 09:59
Re: Question about y_ini - by CoaPsyFactor - 21.11.2014, 10:02
Re: Question about y_ini - by Brooks1 - 21.11.2014, 10:09
Re: Question about y_ini - by CoaPsyFactor - 21.11.2014, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)