17.12.2014, 04:06
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
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;
}
}

