Need Help! Small Problem.
#1

Hello All! I Have A Small Problem. When I Write This:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
		if (strcmp("/LSPD", cmdtext, true, 10) == 0)
		{
			SendClientMessage(playerid, COLOR_YELLOW, "Shen Shexvedi LSPD-Shi!");
			pTeam[playerid] = team_lspd;
			return 1;
		}
		if (strcmp("/myteam", cmdtext, true, 10) == 0)
		{
			if(pTeam[playerid] == team_lspd) {
			SendClientMessage(playerid, COLOR_YELLOW, "Shen Xar LSPD's Officeri!");
			return 1;
		if(pTeam[playerid] == team_grove{
		SendClientMessage(playerid, COLOR_YELLOW, "Shen Ukve Xar Grove's Wevri!");
		return 1;
		}
	return 1;
}
After Saving is Warning This:
Код:
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(532) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(532) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(540) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(540) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(545) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(545) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(545) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(550) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(550) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(550) : error 004: function "OnPlayerStateChange" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(555) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(555) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(555) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(560) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(560) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(560) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(565) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(565) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(565) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(570) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(570) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(570) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(575) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(575) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(575) : error 004: function "OnRconCommand" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(580) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(580) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(580) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(585) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(585) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(585) : error 004: function "OnObjectMoved" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(590) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(590) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(590) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(595) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(595) : error 029: invalid expression, assumed zero
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(595) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(600) : warning 225: unreachable code
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(600) : error 029: invalid expression, assumed zero

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Please TellMe Where Have I Warning..?


FIXED!
Reply


Messages In This Thread
Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:24
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:40
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:45
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:48
Re: Need Help! Small Problem. - by JaKe Elite - 16.09.2012, 06:49
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:52
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:52
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:56

Forum Jump:


Users browsing this thread: 1 Guest(s)