NextMap Not Work
#1

Hi Alls.
I Write /NextMap Cmd For My Race Server But Not Work My Cmd..
Im Use YSI_INI And My Maps Adress Is : Mymode\scriptfiles\Maps

This Im My Script
Код HTML:
CMD:nextmap(playerid,params[])
{
	if(pInfo[playerid][pLogged] == 1)
	{
		if(pInfo[playerid][pAdminLevel] >= 1)
		{
			new map,stringmap[256];
			if(sscanf(params,"i", map)) return SendClientMessage(playerid,-1,""chat" /nextmap [mapid]");

			format(stringmap,sizeof(stringmap),""chat""COL_LIGHTBLUE" %s %s set next map id to %i",GetAdminName(playerid),PlayerName(playerid),map);
			SendClientMessageToAll(-1,stringmap);
			mapid = map;
		}
	}
Reply
#2

What shall happen now? The code you gave is correct, but what follows?
Reply
#3

We need more information than this to help you.
Код:
mapid = map;
Show us further code relating to "mapid."
Reply
#4

The code execute when the current map finish. CMIIW
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)