25.09.2012, 01:30
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.
If not, wiki!
https://sampwiki.blast.hk/wiki/Enums