Question about [MAX_PLAYERS]
#4

Instead of this:
pawn Код:
#define STOLEN (1)
#define RESPAWNED (2)

car[playerid] = STOLEN;
car[playerid] = RESPAWNED;
Use this:
pawn Код:
car[playerid] = 1;
car[playerid] = 2;
Is this what you want? Or do you want to put the words in it like:
pawn Код:
new
    myString[MAX_PLAYERS][8];
myString[playerid] = "stolen";
or like:
pawn Код:
format(myString[playerid], sizeof(myString), "stolen");
Reply


Messages In This Thread
Question about [MAX_PLAYERS] - by Tigerbeast11 - 29.12.2009, 14:33
Re: Question about [MAX_PLAYERS] - by RyDeR` - 29.12.2009, 14:35
Re: Question about [MAX_PLAYERS] - by Tigerbeast11 - 29.12.2009, 14:40
Re: Question about [MAX_PLAYERS] - by Correlli - 29.12.2009, 14:42
Re: Question about [MAX_PLAYERS] - by Tigerbeast11 - 29.12.2009, 14:48
Re: Question about [MAX_PLAYERS] - by Correlli - 29.12.2009, 14:55
Re: Question about [MAX_PLAYERS] - by Tigerbeast11 - 29.12.2009, 14:57
Re: Question about [MAX_PLAYERS] - by Correlli - 29.12.2009, 14:58
Re: Question about [MAX_PLAYERS] - by Tigerbeast11 - 29.12.2009, 15:03
Re: Question about [MAX_PLAYERS] - by Grim_ - 29.12.2009, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)