SA-MP Forums Archive
warning ajuda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: warning ajuda (/showthread.php?tid=210775)



warning ajuda - thaw_ps - 13.01.2011

Olha to com este warning na hora de compilar

Код:
Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(481) : warning 225: unreachable
1 Warning.][/CODE]

Код:
 >>>>linha 481  GangZoneShowForPlayer(playerid, Groove, COR_GROOVE);
	GangZoneShowForPlayer(playerid, Ballas, COR_BALLAS);
 return 1;
}
este codigo que ta dando erro ta no public public OnPlayerSpawn(playerid)


Re: warning ajuda - TiagoPS - 13.01.2011

na verdade o erro й na linha 480

add um { na linha de cima

OFF

saudade do DrAkoN n loga desde dia 8
*medo*


Respuesta: warning ajuda - thaw_ps - 13.01.2011

eu fiz isso da 26 erros pq ?

Код:
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(214) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(214) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(243) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(243) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(251) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(251) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(302) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(302) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(362) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(362) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(373) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(373) : error 033: array must be indexed (variable "txt")
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(433) : error 017: undefined symbol "IsPlayerInPlace"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(446) : error 017: undefined symbol "IsPlayerInPlace"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(479) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(483) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(485) : warning 225: unreachable code
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(485) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(485) : error 004: function "SetPlayerRandomSpawn" is not implemented
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(498) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(503) : warning 225: unreachable code
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(503) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(503) : error 004: function "OnPlayerDeath" is not implemented
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(506) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(507) : error 017: undefined symbol "reason"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(510) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(511) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Igor\Desktop\Sever 0.3b\gamemodes\lvdm.pwn(514) : error 017: undefined symbol "killerid"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.