A tutorial for me please?
#7

Quote:
Originally Posted by radiobizza
Посмотреть сообщение
PHP код:
YCMD:export(playeridarg[], help)
{
    if(
help)
    {
        
SendClientMessage(playeridSTEALTH_ORANGE"______________________________________________");
        
SendClientMessage(playeridSTEALTH_GREEN"Export current map.");
        return 
1;
    }
    
MapOpenCheck();
    
inline Export(epidedialogideresponseelistitemstring:etext[])
    {
        
#pragma unused elistitem, edialogid, epid, etext
        
if(eresponse)
        {
            switch(
elistitem)
            {
                case 
0BroadcastCommand(playerid"/exportmap");
                case 
1BroadcastCommand(playerid"/exportallmap");
                case 
2BroadcastCommand(playerid"/avexport");
                case 
3BroadcastCommand(playerid"/avexportall");
            }
        }
    }
    
Dialog_ShowCallback(playeridusing inline ExportDIALOG_STYLE_LIST"Texture Studio (Export Mode)""Export Map\nExport All Map To Filerscript\nExport Current Car\nExport All Cars""Ok""Cancel");
    return 
1;

Maybe this will send you the usage of cmd ? Forcecmd?

Try to Ctrl+F and find BroadCastCommand again , I'm pretty sure it's stock ?
Reply


Messages In This Thread
A tutorial for me please? - by radiobizza - 05.03.2016, 20:40
Re: A tutorial for me please? - by MicroKyrr - 06.03.2016, 00:29
Re: A tutorial for me please? - by radiobizza - 06.03.2016, 08:21
Re: A tutorial for me please? - by TheBoZ - 06.03.2016, 08:25
Re: A tutorial for me please? - by MicroKyrr - 06.03.2016, 10:56
Re: A tutorial for me please? - by radiobizza - 06.03.2016, 19:02
Re: A tutorial for me please? - by MicroKyrr - 06.03.2016, 22:43
Re: A tutorial for me please? - by radiobizza - 07.03.2016, 08:03
Re: A tutorial for me please? - by radiobizza - 08.03.2016, 19:04
Re: A tutorial for me please? - by MicroKyrr - 09.03.2016, 09:21

Forum Jump:


Users browsing this thread: 2 Guest(s)