Run time error 22
#1

[08:16:03] Script[gamemodes/zombie.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"

I have two problems with this script with no idea on how to fix either one.

First one being the run time error 22, i've looked into this and most people are saying just re-compile it, i've done it several times and still its not working, It's working fine on my PC but when i load it up on my host i get the run time error 22.

This is the script i'm currently running from, it's an EDIT of the afterlife script.


http://pastebin.com/5YMuZcY3http://pastebin.com/5YMuZcY3

The second problem is with the cmd:class command. The command it self was working fine until i moved all the classes from cmd:class2 and cmd:class3 together, now when a human players is attempting to use /class there game crashes, i'm still quite new to scripting and any help would be appreciated.
Reply
#2

First of all get sure that you did not move the .pwn file but moved the .amx file to the server's gamemode folder.
If you are sure that the .amx exists in the folder, then check whether you have added all plugins you are using into the plugin line in the server.cfg and also having all plugins in the plugin folder (also be sure to have the correct fileformat of the plugin depending whether running on windows or linux).

about the second problem: don't know what is causing this, but this looks line quite alot of lines for the dialog list, maybe this could make the server crash, but I really don't know... how did it look before? less lines on that?
Reply
#3

Quote:
Originally Posted by Sascha
Посмотреть сообщение
First of all get sure that you did not move the .pwn file but moved the .amx file to the server's gamemode folder.
If you are sure that the .amx exists in the folder, then check whether you have added all plugins you are using into the plugin line in the server.cfg and also having all plugins in the plugin folder (also be sure to have the correct fileformat of the plugin depending whether running on windows or linux).

about the second problem: don't know what is causing this, but this looks line quite alot of lines for the dialog list, maybe this could make the server crash, but I really don't know... how did it look before? less lines on that?
Yes, the gamemodes are in the correct place and all the plugins are listed, i just find it weird lol, runs fine on a local host but not on the online hoster.

And here's the original commands & playout.
Код:
CMD:class(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Civilian - Silenced Pistol,Shotgun - 0 XP\n{008080}Police Man - Deagle,Shotgun - 500 XP\n{008080}Medic -Shotgun,Silenced Pistol,Armour,Cure Infected - 1000 XP\n\
		                	{008080}Scout - Sniper,Silenced Pistol - 1500 XP\n{008080}Heavy Medic - Deagle,Shotgun,Armour,Cure Infected - 5000 XP\n{008080}Farmer - Deagle,AK,County Rifle,Armour - 6000 XP\n");
		                	strcat(string,"{008080}Soldier - AK47,Deagle - 6500 XP\n{008080}Engineer - Silenced Pistol,Shotgun,Armour,Build Boxes - 7500 XP\n{008080}S.W.A.T - MP5,Deagle,Armour,Immunity - 15,000 XP\n\
							{008080}Heavy Shotgun - Shotgun,Deagle,Armour,More shotgun damage - 20,000 XP\n{008080}Advanced Medic - M4,Deagle,Shotgun,Cure all - 25,000 XP\n");
		                	strcat(string,"{008080}Advanced Engineer - Deagle,M4,Armour,Build Boxes - 30,000 XP\n{008080}Experienced Engineer -Deagle,Shotgun,Armour - Build Ladders - 35,000 XP\n\
							{008080}Federal Agent - M4,Deagle,Shotgun,Armour,Immunity - 50,000 XP\n{008080}Advanced Scout - Sniper,Deagle,High jump,Half Armour - 100,000 XP\n\
							{008080}Kick Back - Silenced Pistol,Shotgun,MP5 - 400000 XP\n{008080}Doctor - Silenced Pistol - Heal,Cure,Shield Heal,Half Immunity - Rank 22");
		                	ShowPlayerDialog(playerid,DIALOG_CLASS_2,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
		                    strcat(string,"{41A317}Standard Zombie - LALT Infect a player - 0 XP\n{41A317}Mutated Zombie - LALT Infect Drunk Vision - 500 XP\n{41A317}Fast Zombie - High Jump - 5,000 XP\n\
							{41A317}Reaper Zombie - More damage with chainsaw - 10,000 XP\n{41A317}Witch Zombie - LALT 75 Damage - 18,000 XP\n");
							strcat(string,"{41A317}Boomer Zombie - Explodes on death and infect - 20,000 XP\n\
							{41A317}Stomper Zombie - LALT Throw all around you - 25,000 XP\n{41A317}Screamer - LALT Drop everyone down - 35000 XP\n\
							{41A317}Advanced Mutated - LALT Infect all around - 65,000 XP\n{41A317}Heavy Screamer - LALT Throw all +5hp - 70,000 XP\n");
							strcat(string,"{41A317}Flesh Eater - LALT Infect a player kills faster - 100,000 XP\n{41A317}Advanced Witch - LALT 99 Damage - 150,000 XP\n{41A317}Advanced Boomer - LALT Explode - 500,000 X");

							ShowPlayerDialog(playerid,DIALOG_CLASS_3,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}

CMD:class2(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Pimp - Dildo, deals 15 damage 15000 XP\n{008080}Heavy Soldier - Can Give 25 Armour Point - 150000\n");
							strcat(string,"{008080}Assassin - Katana, One Hit Kill, C4 - 300.000 XP\n{008080}Cowboy - 2 colt pistols, extra damage, armour, 250.000XP\n");
							strcat(string,"{008080}Trap Master - Combat Shotgun, AK, Can put traps - 200.000 XP\n{008080}FBI - M4, Deagle, Immunity from all, Shotgun, Mp5 - 200.000 XP\n");
							strcat(string,"{008080}Scientist - Silenced Pistol, Can cure zombies - 300.000 XP\n{008080}Shotgun Specialist - Shotgun +50 Damage - 450,000 XP.\n{008080}Experienced Scout - One shoot kill, Sniper, Silenced Pistol - 1000000xp\n");
							strcat(string,"{008080}Smoke Up - Deagle - MP5 - M4 - Flamer - Full Immunity - Rank 30 Required\n{008080}Boxer - Can Give Stomper - 31 Rank Required\n{008080}BomberMan - Having Rocket Launcher - 450000xp\n");
							strcat(string,"{008080}Mp5 Master - Extreme damage with Mp5 - 500000xp\n{008080}Ghost Rider - Can Burn Zombies - 600000xp\n{008080}Hey Buddy - Gives 70 Damage - 150000xp\n{008080}Advanced KickBack - Gives Extreme KickBack - 900000\n{008080}Tec Girl - Gives 75 damage with Tec|200hp - 900000\n{008080}Bulls Eye - Gives high damage|sawnoff - 27 rank needed\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_2_2,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
			                strcat(string,"{41A317}Advanced Stomper - 150 HP , Stomps humans away - 200.000 XP\n");
							strcat(string,"{41A317}Fire Breather - Throws out flames burning everything - 350.000 XP\n{41A317}Advanced Screamer - LALT Throw all +10hp ||-10 Hp to human - 450,000 XP\n{41A317}Advanced Boomer - LALT Explode - 500,000 XP\n");
							strcat(string,"{41A317}Nemesis - Creates some paravane, has 200 HP, custom skinned\n{41A317}Zombie Medic - /zheal to heal zombies\n{41A317}SlenderMan - HighJump MoreDamage - 700000\n{41A317}Killer Zombie - Cant be kickback - 600000\n{41A317}Ghost Zombie - Invisible | Gives 40 Damage - 170000\n{41A317}Dark Sniper - Having Sniper|Can Infect - 700000 xp");

							ShowPlayerDialog(playerid,DIALOG_CLASS_3_3,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}

CMD:class3(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Sniper - Sniper + M4 + 200 HP - 400.000 XP\n{008080}Kinght - Katana + 200 HP! - 450.000 XP\n");
							strcat(string,"{008080}Sergeant - M4 + Deagle + 200 HP - 450.000 XP\n{008080}Renegade - Tec9 + M4 + Deagle + Full Ammo + 200 HP - 500.000 XP\n");
							strcat(string,"{008080}Terrorist - Expert Weapon Set + Full Ammo + Full Health and Armour! - 600.000 XP\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_4_4,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
			                strcat(string,"{41A317}Dead Soldier - M4 + Full Ammo - 200 HP - 400.000 XP\n");
							strcat(string,"{41A317}Vampire - 50 Armour + 150 HP - High Damage - 500.000 XP\n{41A317}WalkDead - 70 Armour + 200 HP - Very High Damage - 600.000 HP - 600.000 XP\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_4_5,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}
Reply
#4

are both running on the same OS (windows or linux?)

Quite sure now that the string is just way too big on the your edition of these commands
Reply
#5

Quote:
Originally Posted by Sascha
Посмотреть сообщение
are both running on the same OS (windows or linux?)

Quite sure now that the string is just way too big on the your edition of these commands
Код:
i changed it back to this and it's work completely fine now and the os is Windows.

CMD:class(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Survivor - Silenced Pistol,Shotgun - 0 XP\n{008080}Officer - Deagle,Shotgun - 500 XP\n{008080}Medic -Shotgun,Silenced Pistol,Armour,Cure Infected - 1000 XP\n\
		                	{008080}Scout - Sniper,Silenced Pistol - 1500 XP\n{008080}Heavy Medic - Deagle,Shotgun,Armour,Cure Infected - 5000 XP\n{008080}Farmer - Deagle,AK,County Rifle,Armour - 6000 XP\n");
		                	strcat(string,"{008080}Soldier - AK47,Deagle - 6500 XP\n{008080}Builder - Silenced Pistol,Shotgun,Armour,Build Boxes - 7500 XP\n{008080}S.W.A.T - MP5,Deagle,Armour,Immunity - 15,000 XP\n\
							{008080}Heavy Shotgun - Shotgun,Deagle,Armour,More shotgun damage - 20,000 XP\n{008080}Advanced Medic - M4,Deagle,Shotgun,Cure all - 25,000 XP\n");
		                	strcat(string,"{008080}Advanced Builder - Deagle,M4,Armour,Build Boxes - 30,000 XP\n{008080}Experienced Builder -Deagle,Shotgun,Armour - Build Ladders - 35,000 XP\n\
							{008080}Federal Agent - M4,Deagle,Shotgun,Armour,Immunity - 50,000 XP\n{008080}Advanced Scout - Sniper,Deagle,High jump,Half Armour - 100,000 XP\n\
							{008080}Kick Back - Silenced Pistol,Shotgun,MP5 - 400000 XP\n{008080}Doctor - Silenced Pistol - Heal,Cure,Shield Heal,Half Immunity - Rank 22");
		                	ShowPlayerDialog(playerid,DIALOG_CLASS_2,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
		                    strcat(string,"{41A317}Standard Zombie - LALT Infect a player - 0 XP\n{41A317}Mutated Zombie - LALT Infect Drunk Vision - 500 XP\n{41A317}Fast Zombie - High Jump - 5,000 XP\n\
							{41A317}Reaper Zombie - More damage with chainsaw - 10,000 XP\n{41A317}Witch Zombie - LALT 75 Damage - 18,000 XP\n");
							strcat(string,"{41A317}Boomer Zombie - Explodes on death and infect - 20,000 XP\n\
							{41A317}Stomper Zombie - LALT Throw all around you - 25,000 XP\n{41A317}Screamer - LALT Drop everyone down - 35000 XP\n\
							{41A317}Advanced Mutated - LALT Infect all around - 65,000 XP\n{41A317}Heavy Screamer - LALT Throw all +5hp - 70,000 XP\n");
							strcat(string,"{41A317}Flesh Eater - LALT Infect a player kills faster - 100,000 XP\n{41A317}Advanced Witch - LALT 99 Damage - 150,000 XP\n{41A317}Advanced Boomer - LALT Explode - 500,000 X");

							ShowPlayerDialog(playerid,DIALOG_CLASS_3,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}

CMD:class2(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Pimp - Dildo, deals 15 damage 15000 XP\n{008080}Heavy Soldier - Can Give 25 Armour Point - 150000\n");
							strcat(string,"{008080}Assassin - Katana, One Hit Kill, C4 - 300.000 XP\n{008080}Cowboy - 2 colt pistols, extra damage, armour, 250.000XP\n");
							strcat(string,"{008080}Trap Master - Combat Shotgun, AK, Can put traps - 200.000 XP\n{008080}FBI - M4, Deagle, Immunity from all, Shotgun, Mp5 - 200.000 XP\n");
							strcat(string,"{008080}Scientist - Silenced Pistol, Can cure zombies - 300.000 XP\n{008080}Shotgun Specialist - Shotgun +50 Damage - 450,000 XP.\n{008080}Experienced Scout - One shoot kill, Sniper, Silenced Pistol - 1000000xp\n");
							strcat(string,"{008080}Smoke Up - Deagle - MP5 - M4 - Flamer - Full Immunity - Rank 30 Required\n{008080}Boxer - Can Give Stomper - 31 Rank Required\n{008080}BomberMan - Having Rocket Launcher - 450000xp\n");
							strcat(string,"{008080}Mp5 Master - Extreme damage with Mp5 - 500000xp\n{008080}Ghost Rider - Can Burn Zombies - 600000xp\n{008080}Hey Buddy - Gives 70 Damage - 150000xp\n{008080}Advanced KickBack - Gives Extreme KickBack - 900000\n{008080}Tec Girl - Gives 75 damage with Tec|200hp - 900000\n{008080}Bulls Eye - Gives high damage|sawnoff - 27 rank needed\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_2_2,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
			                strcat(string,"{41A317}Advanced Stomper - 150 HP , Stomps humans away - 200.000 XP\n");
							strcat(string,"{41A317}Fire Breather - Throws out flames burning everything - 350.000 XP\n{41A317}Advanced Screamer - LALT Throw all +10hp ||-10 Hp to human - 450,000 XP\n{41A317}Advanced Boomer - LALT Explode - 500,000 XP\n");
							strcat(string,"{41A317}Nemesis - Creates some paravane, has 200 HP, custom skinned\n{41A317}Zombie Medic - /zheal to heal zombies\n{41A317}SlenderMan - HighJump MoreDamage - 700000\n{41A317}Killer Zombie - Cant be kickback - 600000\n{41A317}Ghost Zombie - Invisible | Gives 40 Damage - 170000\n{41A317}Dark Sniper - Having Sniper|Can Infect - 700000 xp");

							ShowPlayerDialog(playerid,DIALOG_CLASS_3_3,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}

CMD:class3(playerid,params[])
{
	if(team[playerid] == TEAM_HUMAN)
	{
		if(time >= 200)
		{
		                	new string[2500];
		                	strcat(string,"{008080}Sniper - Sniper + M4 + 200 HP - 400.000 XP\n{008080}Kinght - Katana + 200 HP! - 450.000 XP\n");
							strcat(string,"{008080}Sergeant - M4 + Deagle + 200 HP - 450.000 XP\n{008080}Renegade - Tec9 + M4 + Deagle + Full Ammo + 200 HP - 500.000 XP\n");
							strcat(string,"{008080}Terrorist - Expert Weapon Set + Full Ammo + Full Health and Armour! - 600.000 XP\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_4_4,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
		}
		else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
		}
    if(team[playerid] == TEAM_ZOMBIE)
		                {
			                new string[1000];
			                strcat(string,"{41A317}Dead Soldier - M4 + Full Ammo - 200 HP - 400.000 XP\n");
							strcat(string,"{41A317}Vampire - 50 Armour + 150 HP - High Damage - 500.000 XP\n{41A317}WalkDead - 70 Armour + 200 HP - Very High Damage - 600.000 HP - 600.000 XP\n");
							ShowPlayerDialog(playerid,DIALOG_CLASS_4_5,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
						}
	return 1;
}
The problem was when it was all like this.

Код:
CMD:class(playerid,params[])
{
        if(team[playerid] == TEAM_HUMAN)
        {
                if(time >= 200)
                {
                                        new string[2500];
                                       
                                                        strcat(string,"{008080}Survivor - Silenced Pistol,Shotgun - 0 XP\n");
                                                        strcat(string,"{008080}Officer - Deagle,Shotgun - 500 XP\n");
                                                        strcat(string,"{008080}Medic -Shotgun,Silenced Pistol,Armour,Cure Infected - 1000 XP\n");
                                                        strcat(string,"{008080}Scout - Sniper,Silenced Pistol - 1500 XP\n");
                                                        strcat(string,"{008080}Combat Medic - Deagle,Shotgun,Armour,Cure Infected - 5000 XP\n");
                                                        strcat(string,"{008080}Farmer - Deagle,AK,County Rifle,Armour - 6000 XP\n");
                                                        strcat(string,"{008080}Ranger - AK47,Deagle - 6500 XP\n");
                                                        strcat(string,"{008080}Builder - Silenced Pistol,Shotgun,Armour,Build 6 Boxes - 7500 XP\n");
                                                        strcat(string,"{008080}S.A.S - MP5,Deagle,Armour,Immunity - 15,000 XP\n");
                                                        strcat(string,"{008080}Pimp - Dildo, deals 15 damage 15000 XP\n");
                                                        strcat(string,"{008080}Heavy Shotgun - Shotgun,Deagle,Armour,More shotgun damage - 20,000 XP\n");
                                                        strcat(string,"{008080}Advanced Medic - M4,Deagle,Shotgun,Cure all - 25,000 XP\n");
                                                        strcat(string,"{008080}Advanced Builder - Deagle,M4,Armour,Build 10 Boxes - 30,000 XP\n");
                                                        strcat(string,"{008080}Experienced Builder -Deagle,Shotgun,Armour - Build 5 Ladders - 35,000 XP\n");
                                                        strcat(string,"{008080}Federal Agent - M4,Deagle,Shotgun,Armour,Immunity - 50,000 XP\n");
                                                        strcat(string,"{008080}Advanced Scout - Sniper,Deagle,High jump,Half Armour - 100,000 XP\n");
                                                        strcat(string,"{008080}Weapon Dealer - Can Give 25 Armour Point - 150000\n");
                                                        strcat(string,"{008080}Hey Buddy - Gives 70 Damage - 150000xp\n");
                                                        strcat(string,"{008080}Trap Master - Combat Shotgun, AK, Can put traps - 200.000 XP");
                                                        strcat(string,"{008080}FBI - M4, Deagle, Immunity from all, Shotgun, Mp5 - 200.000 XP\n");
                                                        strcat(string,"{008080}Cowboy - 2 colt pistols, extra damage, armour, 250.000XP\n");
                                                        strcat(string,"{008080}Assassin - Katana, One Hit Kill, C4 - 300.000 XP");
                                                        strcat(string,"{008080}Scientist - Silenced Pistol, Can cure zombies - 300.000 XP\n");
                                                        strcat(string,"{008080}Kick Back - Silenced Pistol,Shotgun,MP5 - 400000 XP\n");
                                                        strcat(string,"{008080}Sniper - Sniper + M4 + 200 HP - 400.000 XP\n");
                            strcat(string,"{008080}Kinght - Katana + 200 HP! - 450.000 XP\n");
                                                        strcat(string,"{008080}Sergeant - M4 + Deagle + 200 HP - 450.000 XP\n");
                                                        strcat(string,"{41A317}Doctor - Silenced Pistol - Heal,Cure,Shield Heal,Half Immunity - Rank 22\n");
                                                        strcat(string,"{008080}Shotgun Specialist - Shotgun +50 Damage - 450,000 XP.\n");
                                                        strcat(string,"{008080}Experienced Scout - One shoot kill, Sniper, Silenced Pistol - 1000000xp\n");
                                                        strcat(string,"{41A317}Smoke Up - Deagle - MP5 - M4 - Flamer - Full Immunity - Rank 30 Required\n");
                                                        strcat(string,"{008080}BomberMan - Having Rocket Launcher - 450000xp\n");
                                                        strcat(string,"{008080}Mp5 Master - Extreme damage with Mp5 - 500000xp\n");
                                                        strcat(string,"{008080}Renegade - Tec9 + M4 + Deagle + Full Ammo + 200 HP - 500.000 XP\n");
                                                        strcat(string,"{008080}Terrorist - Expert Weapon Set + Full Ammo + Full Health and Armour! - 600.000 XP\n");
                                                        strcat(string,"{008080}Ghost Rider - Can Burn Zombies - 600000xp\n");
                                                        strcat(string,"{008080}Advanced KickBack - Gives Extreme KickBack - 900000\n");
                                                        strcat(string,"{008080}Tec Girl - Gives 75 damage with Tec|200hp - 900000\n");
                                                        strcat(string,"{41A317}Bulls Eye - Gives high damage|sawnoff - 27 rank needed\n");
 
                                                       
 
 
 
                   ShowPlayerDialog(playerid,DIALOG_CLASS_2,DIALOG_STYLE_LIST,"Class Selection (Human)",string,"Select","Close");
                }
                else return SendClientMessage(playerid,-1,""chat" 50 seconds has passed! you cannot select a class anymore!");
                }
               
 
    if(team[playerid] == TEAM_ZOMBIE)
                                {
                                        new string[1000];
 
                                                        strcat(string,"{41A317}Standard Zombie - LALT Infect a player - 0 XP\n");
                                                        strcat(string,"{41A317}Mutated Zombie - LALT Infect Drunk Vision - 500 XP\n");
                                                        strcat(string,"{41A317}Fast Zombie - High Jump - 5,000 XP\n");
                                                        strcat(string,"{41A317}Reaper Zombie - More damage with chainsaw - 10,000 XP\n");
                                                        strcat(string,"{41A317}Witch Zombie - LALT 75 Damage - 18,000 XP\n");
                                                        strcat(string,"{41A317}Boomer Zombie - Explodes on death and infect - 20,000 XP\n");
                                                        strcat(string,"{41A317}Stomper Zombie - LALT Throw all around you - 25,000 XP\n");
                                                        strcat(string,"{41A317}Screamer - LALT Drop everyone down - 35000 XP\n");
                                                        strcat(string,"{41A317}Advanced Mutated - LALT Infect all around - 65,000 XP\n");
                                                        strcat(string,"{41A317}Heavy Screamer - LALT Throw all +5hp - 70,000 XP\n");
                                                        strcat(string,"{41A317}Flesh Eater - LALT Infect a player kills faster - 100,000 XP\n");
                                                        strcat(string,"{41A317}Advanced Witch - LALT 99 Damage - 150,000 XP\n");
                                                        strcat(string,"{41A317}Ghost Zombie - Invisible | Gives 40 Damage - 170000 XP\n");
                                                        strcat(string,"{41A317}Advanced Stomper - 150 HP , Stomps humans away - 200.000 XP\n");
                                                        strcat(string,"{41A317}Fire Breather - Throws out flames burning everything - 350.000 XP\n");
                                                        strcat(string,"{41A317}Dead Ranger - M4 + Full Ammo - 200 HP - 400.000 XP\n");
                                                        strcat(string,"{41A317}Advanced Screamer - LALT Throw all +10hp ||-10 Hp to human - 450,000 XP\n");
                                                        strcat(string,"{41A317}Advanced Boomer - LALT Explode - 500,000 XP\n");
                                                        strcat(string,"{41A317}Vampire - 50 Armour + 150 HP - High Damage - 500.000 XP\n");
                                                        strcat(string,"{41A317}Nemesis - Creates some paravane, has 200 HP, custom skinned \n");
                                                        strcat(string,"{41A317}Zombie Medic - /zheal to heal zombies\n");
                                                        strcat(string,"{41A317}SlenderMan - HighJump MoreDamage - 700000 XP\n");
                                                        strcat(string,"{41A317}Killer Zombie - Cant be kickback - 600000 XP\n");
                                                        strcat(string,"{41A317}WalkDead - 70 Armour + 200 HP - Very High Damage - 600.000 HP - 600.000 XP\n");
                                                        strcat(string,"{41A317}Dark Sniper - Having Sniper|Can Infect - 700000 XP\n"); //25
 
                                                       
                                                        ShowPlayerDialog(playerid,DIALOG_CLASS_3,DIALOG_STYLE_LIST,"Class Selection (Zombie)",string,"Select","Close");
                                                }
        return 1;
}
Reply
#6

I had all the classes from class 2 & 3 placed into one command, /class for zombie was working completely fine, i think maybe there was to much in the human class or something.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)