#1

Hey
I can't find any tutorials online about how to use pInfo.

I need it to disable commands at certain times etc.. and I havent got a clue how..

Does anyone know a tutorial I could use?

thanks
Reply
#2

no?
Reply
#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
#4

thanks Hot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)