[Ajuda] Erro ao compilar
#1

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);
Reply
#2

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

o erro permanece mano :/
Reply
#4

Manda o Codigo do Erro .
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)