SA-MP Forums Archive
What's the code for making a tutorial? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What's the code for making a tutorial? (/showthread.php?tid=134820)



What's the code for making a tutorial? - MorrocoRP - 17.03.2010

What's the code for making a tutorial, i wanna create a RP server, All i know, it's

SendClientMessage(playerid,COLOR,message)?

Please i need it!


Re: What's the code for making a tutorial? - aircombat - 17.03.2010

// under OnPlayerConnect

SendClientMessage(playerid,COLOR_RED,"Type /Kill to suicide"); // and u can add as many as u want


Re: What's the code for making a tutorial? - Crezy-Boy - 17.03.2010

Here, its the beginning, you return it: look LARP. ->

pawn Код:
if(TutTime[i] >= 1) // tutime, goes bigger when adding new text / positions
            {
              TutTime[i] += 1;
        if(TutTime[i] == 3)
              {
                ClearChatbox(i, 10); //clears chatbox
                SetPlayerCameraPos(i, 2247.0215,-1655.0173,17.2856); //camera's position
                    SetPlayerCameraLookAt(i, 2244.6536,-1663.9304,15.4766); // view of player
                    SetPlayerInterior(i, 0); // int
                    SetPlayerVirtualWorld(i, 0); // virtualworld
                    SetPlayerPos(i, 2256.3555,-1646.6377,-5.00); // postition of player
                SendClientMessage(i, COLOR_GREEN, "~ TEXT ~");
                SendClientMessage(i, COLOR_WHITE, " "); // you can add text here, too, it just leaves it blank
                SendClientMessage(i, COLOR_WHITE, "TEXT.");
                SendClientMessage(i, COLOR_WHITE, "TEXT.");
                ClearChatbox(i, 2); //clears the chatbox again



Re: What's the code for making a tutorial? - Crezy-Boy - 17.03.2010

Quote:
Originally Posted by [AC
Etch ]
// under OnPlayerConnect

SendClientMessage(playerid,COLOR_RED,"Type /Kill to suicide"); // and u can add as many as u want
sorry for doublepost but..
That guy meant it the RP way, not the DM/Stunt way, just saying.. Look LARP, it changes place and introduces the city's places.