24.04.2011, 13:09
Quote:
Try this:
under the 'main()' (not inside it!) add this: Код:
enum FirstSpawn { pIsFirstSpawn }; new pSpawnInfo[MAX_PLAYERS][FirstSpawn]; Код:
pSpawnInfo[playerid][pIsFirstSpawn] = 0; Код:
if(!pSpawnInfo[playerid][pIsFirstSpawn]) { GameTextForPlayer(playerid, SPAWN_GAMETEXT, SPAWN_TEXTTIME, SPAWN_TEXTSTYLE); pSpawnInfo[playerid][pIsFirstSpawn] = 1; } Код:
pSpawnInfo[playerid][pIsFirstSpawn] = 0; Код:
#define SPAWN_GAMETEXT "Spawn text" #define SPAWN_TEXTTIME 5000 #define SPAWN_TEXTSTYLE 1 |