Question about includes
#1

I was thinking of making my player enum in an include like.

pawn Код:
//In the include
enum E_DATA
{
 variable1,
}
new pData[MAX_PLAYERS][E_DATA];
Is it possible to do like
pawn Код:
//In some FS
pData[playerid][variable1] = 60;

//Yet in probably some other Game Mode
if(pData[playerid][variable1] == 60) {//Code}
So, we can easily share information with a FS or GM without CallRemoteFunction..

Also, what about the speed?
Reply


Messages In This Thread
Question about includes - by [MM]RoXoR[FS] - 02.08.2012, 16:02
Re: Question about includes - by Misiur - 02.08.2012, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)