quick question
#4

Quote:
Originally Posted by [SF
robmob ]
ok thanks so your saying try and change theese

new weed[MAX_PLAYERS];
new coke[MAX_PLAYERS];
new crack[MAX_PLAYERS];
new hash1[MAX_PLAYERS];
new heroin[MAX_PLAYERS];
new tobbacco[MAX_PLAYERS];
new extacy[MAX_PLAYERS];
new lsd[MAX_PLAYERS];
new acid[MAX_PLAYERS];
new level[MAX_PLAYERS];
new logged[MAX_PLAYERS];
new serverrank[MAX_PLAYERS];
new muted[MAX_PLAYERS];
new serverpoints[MAX_PLAYERS];
new WeaponSpawn[MAX_PLAYERS];
new Teleport[MAX_PLAYERS];
new JobSpammed[MAX_PLAYERS];
new InJail[MAX_PLAYERS];
new PlayerWantedLevel[MAX_PLAYERS];
new gTeam[MAX_PLAYERS];
new DMZone[MAX_PLAYERS];
You don't need to change this. But you can do this ( to make it more readable )
pawn Код:
enum epInfo{
  weed,
  coke,
  logged <- the last info doesn't take comma (','), you can put as many infos you need (i think).
}
new PlayerInfo[MAX_PLAYERS][epInfo];
So you use it like this:
pawn Код:
PlayerInfo[playerid][logged] = true;
Reply


Messages In This Thread
quick question - by [SF]RobMob - 19.02.2010, 16:43
Re: quick question - by wafffllesss - 19.02.2010, 16:58
Re: quick question - by [SF]RobMob - 19.02.2010, 17:03
Re: quick question - by wafffllesss - 19.02.2010, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)