[AJUDA] Erro no Pawno - ERROR 017 e 029
#1

Na hora de compilar meu Pawno apontou alguns erros

pawn Код:
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(336) : warning 217: loose indentation
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(337) : error 017: undefined symbol "pname"
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(338) : error 017: undefined symbol "string"
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(338) : error 017: undefined symbol "string"
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(338) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Leandro novo\Desktop\Server novo\filterscripts\piramede.pwn(338) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Os erros estгo nesse codigo.
pawn Код:
if (strcmp("/delegacia", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, -959.0239,1944.9492,9.0000);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
SetPlayerInterior(playerid,0);
   GameTextForPlayer(playerid,"~w~bem vindo a delegacia...", 3502, 10);
   GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
   format(string, sizeof(string), "%s foi para a DELEGACIA /delegacia", pname);
   SendClientMessageToAll(COR_LARANJA, string);
}
else
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -959.0239,1944.9492,9.0000);
SetPlayerFacingAngle(playerid,0.0);
return 1;
}
}//
especialmente nessas duas linhas

pawn Код:
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
   format(string, sizeof(string), "%s foi para a DELEGACIA /delegacia", pname);
Se puderem me ajudar, fico grato.
Reply


Messages In This Thread
[AJUDA] Erro no Pawno - ERROR 017 e 029 - by leandro123456 - 05.08.2010, 13:12
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by [BEP]AcerPilot - 05.08.2010, 13:29
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by leandro123456 - 05.08.2010, 13:38
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by [BEP]AcerPilot - 05.08.2010, 13:47
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by leandro123456 - 05.08.2010, 13:59
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by ipsBruno - 05.08.2010, 15:21
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by [BEP]AcerPilot - 05.08.2010, 23:13
Re: [AJUDA] Erro no Pawno - ERROR 017 e 029 - by Falcon. - 06.08.2010, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)