08.07.2011, 17:53
Aki Eu Estive A Ler PAWN, E Decidi Testar Os Meus Conhecimentos, Entгo Fiz Uma "Org" E Deu Os Seguintes Erros:
Linhas:
Eu Nгo Consigo Resolvelos, Entгo Decidi Postar Para Mais Ajuda.
Quote:
C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(210) : error 017: undefined symbol "strtok" C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(210) : error 033: array must be indexed (variable "tmp") C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(212) : error 017: undefined symbol "recrutado" C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(212) : error 017: undefined symbol "ReturnUser" C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(213) : error 017: undefined symbol "recrutado" C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(213) : warning 215: expression has no effect C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(213) : error 001: expected token: ";", but found "]" C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(213) : error 029: invalid expression, assumed zero C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(213) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors. |
Quote:
||210-|| tmp = strtok(cmdtext, idx); ||211-|| if(!strlen(tmp)) return SendClientMessage(playerid, 0xFFFFFFFF, "Oi, Usa /Convidar ID! ^_^"); ||212-|| recrutado = ReturnUser(tmp); ||213-|| if(IsPlayerConnected(recrutado) && Org[playerid] > 0) |