SA-MP Forums Archive
[AJUDA] comando report - 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: [AJUDA] comando report (/showthread.php?tid=312300)



[AJUDA] comando report - thaw_ps - 20.01.2012

To com um problema no comando report quando compilo meu gm da esse erro e nгo consigo resolver se alguйm saber me ajude obrigado

Код:
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(438) : error 017: undefined symbol "sendername"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(438) : error 017: undefined symbol "sendername"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(438) : error 029: invalid expression, assumed zero
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(438) : fatal error 107: too many error messages on one line



Re: [AJUDA] comando report - thaw_ps - 20.01.2012

Ajuda por favor foi mal pelo double


Re: [AJUDA] comando report - _Jizzy_ - 20.01.2012

pawn Код:
new sendername[MAX_PLAYER_NAME];



Re: [AJUDA] comando report - thaw_ps - 21.01.2012

Eu jб tinha feito isso sу que da esse erros
Код:
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(440) : error 017: undefined symbol "giveplayerid"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(440) : error 035: argument type mismatch (argument 2)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(446) : error 017: undefined symbol "giveplayerid"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(447) : error 017: undefined symbol "giveplayerid"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(465) : error 017: undefined symbol "giveplayerid"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(465) : error 035: argument type mismatch (argument 2)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(466) : error 017: undefined symbol "string"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(466) : error 017: undefined symbol "string"
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(466) : error 029: invalid expression, assumed zero
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(466) : fatal error 107: too many error messages on one line
Ajuda por favor obrigado


Re: [AJUDA] comando report - Victor Cesaroni - 21.01.2012

Poste o(s) cуdigo(s) que estгo dando erro.


This forum requires that you wait 120 seconds between posts. Please try again in 15 seconds. F***



Re: [AJUDA] comando report - _Jizzy_ - 21.01.2012

pawn Код:
new giveplayerid[MAX_PLAYER_NAME];
new string[128];



Re: [AJUDA] comando report - thaw_ps - 21.01.2012

postei esse sem querer errado desculpa se de para excluir pode excluir

DESCULPA


Re: [AJUDA] comando report - thaw_ps - 21.01.2012

Bom quando coloco isso da 7 erros

Код:
C:\Users\Igor\Desktop\GW\gamemodes\GW.pwn(443) : error 035: argument type mismatch (argument 1)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(443) : error 035: argument type mismatch (argument 2)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(449) : error 033: array must be indexed (variable "giveplayerid")
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(450) : error 035: argument type mismatch (argument 1)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(468) : error 035: argument type mismatch (argument 1)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(468) : error 035: argument type mismatch (argument 2)
C:\Users\thaw\Desktop\GW\gamemodes\GW.pwn(469) : error 017: undefined symbol "giveplayer"
linha com os erros

Код:
GetPlayerName(giveplayerid, giveplayer, sizeof(sendername)); 443
 giveplayerid = strval(tmp); 449
 if(IsPlayerConnected(giveplayerid)) 450
 GetPlayerName(giveplayerid, giveplayer, sizeof(sendername)); 468
 format(string,sizeof(string),"REPORT DE : %s (id %d) Reportou %s (id %d). [Motivo: %s]", giveplayer, giveplayerid, sendername, playerid,result); 469
Tai galera qualquer coisa sу pedir vlw pela ajuda

aff postei 2 sem querer n tem como excluir o de cima ?