Command Restarts The Server
#1

Whenever I type /lands command it restarts my server but sometimes it works. Any idea about what the problem is?

Код:
CMD:lands(playerid, params[])
{
	new playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, playername, sizeof(playername));
	for(new x; x < MAX_LANDS; x++)
	{
		if(GangZoneCreate(playerid, LandInfo[x][landZone]))
		{
   			if(strcmp(playername, LandInfo[x][landOwner], true) == 0)
		    {
				editingLand[playerid] = x;
				break;
			}
			else
			{
			    editingLand[playerid] = -1;
			}
		}
	}
	ShowPlayerDialogEx(playerid, LANDSMAIN,DIALOG_STYLE_LIST, "Lands - Select an option", "Toggle Lands on Map\nBuild\nEdit a Building\nDestroy a Building\nBuy Land\nSell Land\nDestroy all objects", "Select", "Cancel");
	return 1;
}
Reply


Messages In This Thread
Command Restarts The Server - by Alpha000 - 01.11.2015, 13:45
Re: Command Restarts The Server - by prineside - 01.11.2015, 13:54
Re: Command Restarts The Server - by Alpha000 - 01.11.2015, 13:59
Re: Command Restarts The Server - by prineside - 01.11.2015, 14:07
Re: Command Restarts The Server - by Alpha000 - 01.11.2015, 14:13
Re: Command Restarts The Server - by prineside - 01.11.2015, 14:16
Re: Command Restarts The Server - by Alpha000 - 01.11.2015, 14:20
Re: Command Restarts The Server - by Alpha000 - 01.11.2015, 14:32
Re: Command Restarts The Server - by prineside - 01.11.2015, 14:48
Re: Command Restarts The Server - by Alpha000 - 01.11.2015, 14:56

Forum Jump:


Users browsing this thread: 1 Guest(s)