22.07.2011, 16:31
Obrigado, persebi que se codigo ficou bem mais limpo e facil de entender, mas agora ele me apresenta 2 erros na compilaзгo:
As essas sao as linhas: 8865 A primeira e 8868 A ultima:
pawn Код:
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(3282) : warning 204: symbol is assigned a value that is never used: "pPos"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(8865) : error 047: array sizes do not match, or destination array is too small
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(8868) : error 047: array sizes do not match, or destination array is too small
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(15590) : warning 225: unreachable code
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1221) : warning 204: symbol is assigned a value that is never used: "BolsaDeValoresPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1981) : warning 204: symbol is assigned a value that is never used: "ComputadorPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1252) : warning 204: symbol is assigned a value that is never used: "EnterHospitalPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1254) : warning 204: symbol is assigned a value that is never used: "ExitHospitalPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1230) : warning 204: symbol is assigned a value that is never used: "FaculdadePick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1233) : warning 204: symbol is assigned a value that is never used: "GaragemJailPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1233 -- 18552) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1255) : warning 204: symbol is assigned a value that is never used: "HospitalPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1236) : warning 204: symbol is assigned a value that is never used: "LimparPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1258) : warning 204: symbol is assigned a value that is never used: "MacumbaPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1161) : warning 204: symbol is assigned a value that is never used: "MainTimer"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1242) : warning 204: symbol is assigned a value that is never used: "PizzaPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1260) : warning 204: symbol is assigned a value that is never used: "RezaPick"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1989) : warning 204: symbol is assigned a value that is never used: "on501vehicle"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1990) : warning 204: symbol is assigned a value that is never used: "on702vehicle"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1990 -- 18552) : warning 203: symbol is never used: "pCPActive"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1990 -- 18552) : warning 203: symbol is never used: "pCPID"
D:\PCS-SAMP\Servidor\gamemodes\psa.pwn(1990 -- 18552) : warning 203: symbol is never used: "soundID"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
pawn Код:
var = strtok(cmdtext,idx);
if(!strlen(var)) return SendClientMessage(playerid,ErrorColor,"[PSBR]: /darlider [IDPlayer] [LiderID (0(Desempregado)~16)]");
id = ReturnUser(var);
var = strtok(cmdtext,idx);