SA-MP Forums Archive
/start Command - 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: /start Command (/showthread.php?tid=317196)



/start Command - NathansRP - 10.02.2012

can anyone tell me a code for /start command.

currently using;
ZCMD and Y_INI
anyone got one.


thanks.


Re: /start Command - Hoborific - 10.02.2012

Explain what you want it to do, start what? A vehicle?


Re: /start Command - NathansRP - 10.02.2012

tutorial skip, forgot about that. my bad.


Re: /start Command - Hoborific - 10.02.2012

Will it be for admin or for the player?


Re: /start Command - NathansRP - 10.02.2012

player of course.


Re: /start Command - Hoborific - 10.02.2012

pawn Код:
command(start,playerid,params[])
{
    if(isintutorialvarhere == 1)
    {

        isintutorialvarhere = 0;
        SpawnPlayer(playerid);
        SendClientMessage(playerid,WHITE,"Enjoy your life here at ....");
        return 1;

    }
    else return SendClientMessage(playerid,COLORHERE,"You are not in the tutorial");

}
There is the rough idea in Zcmd, but I don't see why you would need to set anything in Y_Ini.


Re: /start Command - NathansRP - 10.02.2012

thanks, ill go test it out, ill tell you if it works.