SA-MP Forums Archive
/changemap - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /changemap (/showthread.php?tid=388350)



/changemap - Blackazur - 28.10.2012

How can i make a /changemap mapid Command, and that only Admins can use it?


Re: /changemap - Jarnu - 28.10.2012

pawn Код:
CMD:changemap(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        //----Your codes here-----//
    }
    return 1;
}
also elaborate please.


Re: /changemap - Faisal_khan - 28.10.2012

Check out this tut. Instead of the timer, u can use the command. And Don't forget to add the
pawn Код:
if(IsPlayerAdmin(playerid)
define for your admin system.

[Tutorial] Map Changing System


AW: /changemap - Blackazur - 28.10.2012

The Map Codes must i add or?


Re: /changemap - Faisal_khan - 29.10.2012

You must add 'em.