Hallo,
ich habe, seit einem neuen Befehl, diesen Runtime Error:
[20:51:56] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[20:51:56] [debug] Stack pointer (STK) is 0x316A1E0, heap pointer (HEA) is 0x316BF0C
[20:51:56] [debug] AMX backtrace:
[20:51:56] [debug] #0 00000000 in public ocmd_fhelp () from GNE.amx
[20:51:56] [debug] #1 native CallLocalFunction () from samp-server.exe
[20:51:56] [debug] #2 00000000 in public OnPlayerCommandText () from GNE.amx
Immer wenn ich den Befehl /fhelp eingebe kommt der fehler.
Befehl:
ocmd:fhelp(playerid,params[])
{
new string[5000],forstring[5000];
switch(PlayerInfo[playerid][pMember] || PlayerInfo[playerid][pLeader])
{
case 1:
{
//LSPD
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/fkasse, /d(epartmend), /r(adio), /m(egaphone), /su(spect), /duty, /wanted, /gov, /zollcontrol\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/orten, /tazer, /arrest, /schild, /remove, /ticket\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Sperre: {"#GRAU_HEX"}/rb, /rrb, /sperrewegall, /nagelband (/nb), /nagelbandweg (/nbw), /nbwa\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Undercover: {"#GRAU_HEX"}/ucl, /ucldel, /zivil\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /frisk, /take\n");
strcat(string,forstring);
}
case 2:
{
//FBI
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/fkasse, /d(epartmend), /r(adio), /m(egaphone), /su(spect), /duty, /wanted, /gov, /zollcontrol\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/orten, /tazer, /arrest, /schild, /remove, /ticket\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Sperre: {"#GRAU_HEX"}/rb, /rrb, /sperrewegall, /nagelband (/nb), /nagelbandweg (/nbw), /nbwa\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Undercover: {"#GRAU_HEX"}/ucl, /ucldel, /zivil\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/frisk, /take\n");
strcat(string,forstring);
}
case 3:
{
//FBI
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/fkasse, /d(epartmend), /r(adio), /m(egaphone), /su(spect), /duty, /wanted, /gov, /zollcontrol\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/orten, /tazer, /arrest, /schild, /remove, /ticket,/\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Sperre:{"#GRAU_HEX"} /rb, /rrb, /sperrewegall, /nagelband (/nb), /nagelbandweg (/nbw), /nbwa\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Undercover: {"#GRAU_HEX"}/ucl, /ucldel, /zivil\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/frisk, /take\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Entschärfen:{"#GRAU_HEX"} /defuse\n");
strcat(string,forstring);
}
case 4:
{
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/duty, /d(epartmend), /r(adio), /m(egaphone), /medictor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Heilen: {"#GRAU_HEX"}/heal\n");
strcat(string,forstring);
}
case 5:
{
//LCN
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/lenter, /lcntor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen:{"#GRAU_HEX"} /kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 6:
{
//Yakuza
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/yaktor, /yaktor2\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /durchsuchen, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 7:
{
//Präsident
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/penter, /pexit, /dachluke, /präsibüro, /ptor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Steuern:{"#GRAU_HEX"} /settax, /givetax\n");
strcat(string,forstring);
}
case 8:
{
//Hitman
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/henter, /hexit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Kopfgeld: {"#GRAU_HEX"}/portable\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/tie, /untie, /durchsuchen, /kidnap, /gangjail, /gangunjail, /mundtape\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 9:
{
//News Reporter
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/ntor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}News: {"#GRAU_HEX"}/paper, /papers, /live, /news\n");
strcat(string,forstring);
}
case 10:
{
//Taxifahrer
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fahren: {"#GRAU_HEX"}/fare\n");
strcat(string,forstring);
}
case 11:
{
//Fahrlehrer
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/lehrerlift, /licensepreise\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fahrstunde:{"#GRAU_HEX"} /startlesson, /stoplessen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Scheine:{"#GRAU_HEX"} /givelicense\n");
strcat(string,forstring);
}
case 12:
{
//Fuegos
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/ctor, /cgarage\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight:{"#GRAU_HEX"} /invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 13:
{
//Goove Street
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein:{"#GRAU_HEX"} /genter, /gexit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 14:
{
//Ballas
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/kenter, /kexit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 15:
{
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 16:
{
//Vagos
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein:{"#GRAU_HEX"} /vaenter, /vaexit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight:{"#GRAU_HEX"} /invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 17:
{
//Aztekas
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein:{"#GRAU_HEX"} /enter, /exit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 18:
{
//LS RIfas
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/rienter, /riexit, /rftor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight:{"#GRAU_HEX"} /invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen:{"#GRAU_HEX"} /kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 19:
{
//Red Sopilders
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/enter, /exit, /mwtor\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer: {"#GRAU_HEX"}/frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 20:
{
//Terroristen
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/terenter, /terexit\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen: {"#GRAU_HEX"}/durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Bombe:{"#GRAU_HEX"} /selbstmord, /legbombe\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 22:
{
//SWAT
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/fenter, /fexit, /swat1, /swat2, /fkasse, /d(epartmend), /r(adio), /m(egaphone), /su(spect), /duty, /wanted, /gov, /zollcontrol\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein: {"#GRAU_HEX"}/orten, /tazer, /arrest, /schild, /remove, /ticket\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Sperre:{"#GRAU_HEX"} /rb, /rrb, /sperrewegall, /nagelband (/nb), /nagelbandweg (/nbw), /nbwa\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Undercover: {"#GRAU_HEX"}/ucl, /ucldel, /zivil\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /frisk, /take\n");
strcat(string,forstring);
}
case 23:
{
//Brigarda
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein:{"#GRAU_HEX"} /renter, /rexit, /skin, /rtor, /rtor2\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Gangfight: {"#GRAU_HEX"}/invade, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Durchsuchen:{"#GRAU_HEX"} /durchsuchen\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Geisel nehmen: {"#GRAU_HEX"}/kidnap, /gangjail, /gangunjail, /augenbinde, /mundtape, /tie, /untie\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Fraktionskammer:{"#GRAU_HEX"} /frakkammermats, /frakkammer\n");
strcat(string,forstring);
}
case 24:
{
//OAMT
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Allgemein:{"#GRAU_HEX"} /oamtls, /m(egaphone), /d(epartmend), /r(adio), /rtor2\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Ticket:{"#GRAU_HEX"} /oticket, /ctf\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Abeschleppen:{"#GRAU_HEX"} Mit der STRG-Taste\n");
strcat(string,forstring);
format(forstring,sizeof(forstring),"{"#SERVERFARBE_HEX"}Blitzer:{"#GRAU_HEX"} /blitzer\n");
strcat(string,forstring);
}
}
return ShowPlayerDialog(playerid,DIALOG_FHELP,DIALOG_STYLE_MSGBOX,""#SERVERFARBE""#SERVERNAME" {FFFFFF} Fraktionshilfe",string,"Zurück","Abbrechen");
}
Ich weiß nicht mehr weiter sorry
MFG