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."); } }
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.
Originally Posted by rules
a) Use a proper subject
Something like "------------>HELP PLZ FAST NOW HELP!!!!!!!!!!!<----------" is not very descriptive and very annoying. Make a proper subject with a short description, such as "Gates won't open" or "Game crashes instantly" |