[[[[[[[[helpppp]]]]]]]
#1

This is my code

Код:
COMMAND:jetpack(playerid, params[])
{
	if(IsPlayerConnected(playerid))
	{
	    if(PlayerInfo[playerid][AdminLevel] >= 5)
	    {
	            SetPlayerSpecialAction(playerid, 2); //Spawns them a jetpack.
				SendClientMessage(playerid, Green, "**Spawned jetpack**");
				return 1;
			}
	    else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
	}
	else return SendClientMessage(playerid, 0xD8D8D8FF, "Player is not connected.");
}
}
This is my error.

Код:
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(1109) : warning 225: unreachable code
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(1109) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(1109) : error 017: undefined symbol "cmd_jetpack"
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(1109) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(1109) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
[[[[[[[[helpppp]]]]]]] - by HayZatic - 06.07.2011, 16:18
Re: [[[[[[[[helpppp]]]]]]] - by HayZatic - 06.07.2011, 16:22
Re: [[[[[[[[helpppp]]]]]]] - by Max_Coldheart - 06.07.2011, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)