pInfo
#3

pInfo is a common variable used for save Player Information, they use it as a Multidimensional Array, so tecnically you create a variable that represent all the player information. Example:

Код:
// Enumerating the all the player's information
enum pInformation { 
   pHealth,
   pArmour,
   pCash
};

// Creating the array that will contain the player's information
// The size is the numbers of the max players in the server, and othere [ ] is what that will hold
new pInfo[MAX_PLAYERS][pInformation];
Hope it helps...
Reply


Messages In This Thread
pInfo - by Packer5 - 28.03.2010, 14:36
Re: pInfo - by Packer5 - 28.03.2010, 14:52
Re: pInfo - by Hot - 28.03.2010, 15:00
Re: pInfo - by Packer5 - 28.03.2010, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)