[AJUDA]Erro ao compilar.
#1

Por favor, alguйm poderia me dizer como solucionar esses erros?

pawn Код:
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2370) : error 017: undefined symbol "playerid"
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2371) : error 017: undefined symbol "playerid"
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2372) : warning 219: local variable "Total" shadows a variable at a preceding level
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2373) : error 017: undefined symbol "Player"
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2373) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2373) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\MEU GM\gamemodes\mygm.pwn(2373) : fatal error 107: too many error messages on one line
Linhas.

pawn Код:
2369    new Float:PlayerHealth, Float:PlayerArmour;
2370    GetPlayerHealth(playerid,PlayerHealth);
2371    GetPlayerArmour(playerid,PlayerArmour);
2372    new Float:Total = PlayerArmour + PlayerHealth;
2373    if ((!Player[playerid][pMoney]) || (Round[Current] != -1))
Reply
#2

Hmmm. Alone ;[
Reply
#3

Defina os sнmbolos playerid e Player de acordo com as incumbкncias que os mesmos tкm no cуdigo que vocк postou .



O warning pode ser removido atravйs da mudanзa de nome da variбvel Total, pois jб existe um sнmbolo com esse nome em outro escopo.



Espero ter ajudado .
Reply
#4

Cara, poderia explicar melhor, nгo leve a mal nгo. ++Rep.
Reply
#5

Cara, eu defini oque voce falou, e o pawno parou de funcionar... o.O // =s
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)