12.07.2011, 09:26
Quote:
Код:
C:\DOCUME~1\PC\Bureau\RE-Games\GAMEMO~1\RE-GAMES.pwn(109) : error 021: symbol already defined: "OnPlayerSpawn" C:\DOCUME~1\PC\Bureau\RE-Games\GAMEMO~1\RE-GAMES.pwn(110) : error 017: undefined symbol "s_randon_skins" C:\DOCUME~1\PC\Bureau\RE-Games\GAMEMO~1\RE-GAMES.pwn(110) : error 017: undefined symbol "MAX_RANDOM_SKINS" C:\DOCUME~1\PC\Bureau\RE-Games\GAMEMO~1\RE-GAMES.pwn(110) : error 029: invalid expression, assumed zero C:\DOCUME~1\PC\Bureau\RE-Games\GAMEMO~1\RE-GAMES.pwn(110) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
PHP код:
#define MAX_RANDOM_SKINS 10
new s_randon_skins[MAX_RANDOM_SKINS] = {23, 112, 36, 110, 206};
PHP код:
SetPlayerSkin(playerid, s_randon_skins[random(MAX_RANDOM_SKINS)]);