Ich scripte einen /ahelp befehl aber wenn ich compilen will stürzt der Compiler ab also es steht "Der Compiler funktioniert nicht mehr".
ocmd:ahelp(playerid,params[])
{
if(isAdmin(playerid,1))return
SendClientMessage(playerid,0xFFFF00FF,"~Probe-Supporter Befehle~");
SendClientMessage(playerid,0xFFFF00FF,"gotoxyz,check,ac,getip,slap,mapport,freeze,unfreeze,kick,gethere,gotoplayer,tv,tvaus,adminduty");
else if(isAdmin(playerid,2))return
{
SendClientMessage(playerid,0xFFFF00FF,"~Supporter~");
SendClientMessage(playerid,0xFFFF00FF,"gotoxyz,check,ac,getip,slap,mapport,freeze,unfreeze,kick,gethere,gotoplayer,tv,tvaus,adminduty");
SendClientMessage(playerid,0xFFFF00FF,"godcheck,ban,grosseohren,setworld,setint,awiederbeleben,mute,unmute,spawn");
}
else if(isAdmin(playerid,3))return
{
SendClientMessage(playerid,0xFFFF00FF,"~Ingame Moderator Befehle~");
SendClientMessage(playerid,0xFFFF00FF,"gotoxyz,check,ac,getip,slap,mapport,freeze,unfreeze,kick,gethere,gotoplayer,tv,tvaus,adminduty");
SendClientMessage(playerid,0xFFFF00FF,"godcheck,ban,grosseohren,setworld,setint,awiederbeleben,mute,unmute,spawn");
SendClientMessage(playerid,0xFFFF00FF,"veh,delveh,takegun,entercar,fixveh,timeban,say");
}
else if(isAdmin(playerid,4))return
{
SendClientMessage(playerid,0xFFFF00FF,"~Support-Admin Befehle~");
SendClientMessage(playerid,0xFFFF00FF,"gotoxyz,check,ac,getip,slap,mapport,freeze,unfreeze,kick,gethere,gotoplayer,tv,tvaus,adminduty");
SendClientMessage(playerid,0xFFFF00FF,"godcheck,ban,grosseohren,setworld,setint,awiederbeleben,mute,unmute,spawn");
SendClientMessage(playerid,0xFFFF00FF,"veh,delveh,takegun,entercar,fixveh,timeban,say");
SendClientMessage(playerid,0xFFFF00FF,"sethp,setarmour,warn,jetpack,givegun,waffen,setskin,cc");
}
else if(isAdmin(playerid,5))return
{
SendClientMessage(playerid,0xFFFF00FF,"~1337 Admin Befehle~");
SendClientMessage(playerid,0xFFFF00FF,"gotoxyz,check,ac,getip,slap,mapport,freeze,unfreeze,kick,gethere,gotoplayer,tv,tvaus,adminduty");
SendClientMessage(playerid,0xFFFF00FF,"godcheck,ban,grosseohren,setworld,setint,awiederbeleben,mute,unmute,spawn");
SendClientMessage(playerid,0xFFFF00FF,"veh,delveh,takegun,entercar,fixveh,timeban,say");
SendClientMessage(playerid,0xFFFF00FF,"sethp,setarmour,warn,jetpack,givegun,waffen,setskin,cc");
SendClientMessage(playerid,0xFFFF00FF,"up,down,right,left,fly,healall,kill,restart,givemoney");
}
return 1;
}