Error in commands -
Weaselpwns - 12.08.2012
Hello guys, I need some help figuring this out...
My error:
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(163) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(163) : warning 217: loose indentation
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(167) : warning 217: loose indentation
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(167) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(172) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(172) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(172) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(177) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(177) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(177) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(182) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(182) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(182) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(187) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(187) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(187) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(192) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(192) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(192) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(197) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(197) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(197) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(202) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(202) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(202) : error 004: function "OnRconCommand" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(207) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(207) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(207) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(212) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(212) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(212) : error 004: function "OnObjectMoved" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(217) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(217) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(217) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(222) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(222) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(222) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(227) : warning 225: unreachable code
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(227) : error 029: invalid expression, assumed zero
C:\Users\Weaselpwns\Desktop\Tug Life RP Script\gamemodes\TL-RP.pwn(227) : error 004: function "OnVehicleMod" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
This is my code where it went wrong
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_BLUE,"[VEHICLE]/lock /unlock /park /trunk");
SendClientMessage(playerid,COLOR_BLUE,"[GENERAL]/me /ame /do /call /(ha)ngup");
SendClientMessage(playerid,COLOR_BLUE,"[HOUSE]/hlock /hunlock /hwithdraw /hdeposit");
SendClientMessage(playerid,COLOR_BLUE,"[BANK]/deposit /withdraw /wiretransfer /balance");
SendClientMessage(playerid,COLOR_BLUE,"[LSPD]/cuff /uncuff /ticket /tazer /duty /detain");
return 1;
}
if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
{
if(!cmdtext[3])return SendClientMessage(playerid, COLOR_ORANGE, "USAGE: /me [action]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
SendClientMessageToAll(COLOR_PINK, str);
return 1;
return 0;
}
Re: Error in commands -
CrystalFire - 12.08.2012
What includes have u added to ur gm