SAVING TOYS TO INI
#4

pawn Код:
#define MAX_TOYS 10
enum Toys {
ToyIndex, ToyModel, ToyBone, Float:ToyX, Float:ToyY, Float:ToyZ, Float:ToyRX, Float:ToyRY, Float:ToyRZ, Float:ToySX, Float:ToySY, Float:ToySZ
}
new pToy[MAX_PLAYERS][Toys][MAX_TOYS];

//Example Usage:
pToy[playerid][ToyIndex][0] = 1; // Toy "0" ToyIndex is now set to 1.
Hope you can figure it out past there.

If not, wiki!

https://sampwiki.blast.hk/wiki/Enums
Reply


Messages In This Thread
SAVING TOYS TO INI - by PaulDinam - 24.09.2012, 23:44
Re: SAVING TOYS TO INI - by TreePuncher - 25.09.2012, 00:02
Re: SAVING TOYS TO INI - by PaulDinam - 25.09.2012, 00:32
Re: SAVING TOYS TO INI - by coole210 - 25.09.2012, 01:30
Re: SAVING TOYS TO INI - by VenomMancer - 20.12.2013, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)