[HELP] PAWNO Error -
SisasPoiss - 03.04.2010
If i add a 1 command in new.pwn , evrything is ok , but if i want to add another command than this shows up
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(112) : warning 217: loose indentation
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(113) : error 017: undefined symbol "cmd"
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(122) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(122) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(122) : error 004: function "OnPlayerEnterVehicle" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(127) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(127) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(127) : error 004: function "OnPlayerExitVehicle" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(132) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(132) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(132) : error 004: function "OnPlayerStateChange" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(137) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(137) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(137) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(142) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(142) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(142) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(147) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(147) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(147) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(152) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(152) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(152) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(157) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(157) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(157) : error 004: function "OnRconCommand" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(162) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(162) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(162) : error 004: function "OnPlayerRequestSpawn" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(167) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(167) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(167) : error 004: function "OnObjectMoved" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(172) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(172) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(172) : error 004: function "OnPlayerObjectMoved" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(177) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(177) : error 029: invalid expression, assumed zero
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(177) : error 004: function "OnPlayerPickUpPickup" is not implemented
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(182) : warning 225: unreachable code
D:\Scripts\Breakdown Script\gamemodes\JossDM.pwn(182) : error 029: invalid expression, assumed zero
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
And the lines are
Код:
{
if(strcmp(cmdtext, "/VXhaven", true) == 0)
{
SetPlayerPos(playerid, 2566.7908,-2134.1355,0.0769);
return 1;
}
{
if(strcmp(cmd, "/kill", true) == 0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
return 0;
}
Re: [HELP] PAWNO Error -
dice7 - 03.04.2010
#include <a_samp> at the very top
Re: [HELP] PAWNO Error -
aircombat - 03.04.2010
Quote:
Originally Posted by dice7
#include <a_samp> at the very top
|
its just a missing bracket.
Topic Starter : Check ur brackets u will find a missing "}"