SA-MP Forums Archive
[Ajuda] Erro ao compilar - 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] Erro ao compilar (/showthread.php?tid=517783)



Erro ao compilar - kaastiel - 06.06.2014

estou criando um comando para mandar algum player pra carandiru mas da os seguintes erros:

pawn Код:
C:\Users\Henrique\Desktop\Server\gamemodes\haha.pwn(317) : error 012: invalid function call, not a valid address
C:\Users\Henrique\Desktop\Server\gamemodes\haha.pwn(317) : error 017: undefined symbol "cmdtext"
C:\Users\Henrique\Desktop\Server\gamemodes\haha.pwn(317) : error 029: invalid expression, assumed zero
C:\Users\Henrique\Desktop\Server\gamemodes\haha.pwn(317) : fatal error 107: too many error messages on one line
linha do erro:

pawn Код:
tmp = strtok(cmdtext, idx);



Re: Erro ao compilar - SpeakDS - 06.06.2014

Coloque em:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
Cуdigo:
pawn Код:
cmd = strtok(cmdtext, idx);



Re: Erro ao compilar - kaastiel - 06.06.2014

o erro permanece mano :/


Re: Erro ao compilar - Smoking_Script - 06.06.2014

Manda o Codigo do Erro .