24.02.2012, 12:39
I read this tutorial: https://sampforum.blast.hk/showthread.php?tid=216730
And I didnt quite understand.
If I use this:
instead of:
how can it save me memory?
+If I use char arrays,to what I change the []? also to {}
for ex:
Thanks 4 helpers
And I didnt quite understand.
If I use this:
pawn Code:
static gTeam[MAX_PLAYERS char];
pawn Code:
static gTeam[MAX_PLAYERS];
+If I use char arrays,to what I change the []? also to {}
for ex:
pawn Code:
if(gTeam[playerid] == TEAM_Mafia) { SetPlayerColor(playerid,TEAM_Mafia_COLOR); }
else if(gTeam[playerid] == TEAM_Dealers) { SetPlayerColor(playerid,TEAM_Dealers_COLOR); }

