24.06.2010, 19:05
Quote:
Originally Posted by [TLV
ReVo_ ]
OnPlayerSpawn: pawn Код:
exemple pawn Код:
|
Код:
C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(97) : error 001: expected token: ")", but found ";" C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(97) : error 036: empty statement C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(97) : error 029: invalid expression, assumed zero C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(97) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerSpawn(playerid) { if(Faction[playerid];==POLICE) { SetPlayerColor(playerid, COLORECC); } else if(Faction[playerid]==ECC) { ecc } return 1; }
Код:
C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(101) : error 017: undefined symbol "ECC" C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(103) : error 017: undefined symbol "ecc" C:\Documents and Settings\br08\Skrivebord\SCRIPT\gamemodes\lo.pwn(105) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.