how i make RP test in rtegistration
#1

i want to make RP test to Raven's Roleplay modee in the register how can i do it?
Reply
#2

continue the register command with ShowPlayerDialog
Reply
#3

what?
Reply
#4

So I see that you're new to scripting. First learn some basics at samp wiki

@ your register cmd

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#5

i know basic of PAWN
Reply
#6

just give me a guide how to make rp test please
Reply
#7

if you know the basics you can easily make this RP tutorial
Reply
#8

Rather than to be clever and that was helping me
Reply
#9

some one helpp please!!
Reply
#10

Just one example:

pawn Код:
if (strcmp("/register", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Where does RP stands for?","Roleplay\nRealplay\nReallife","Ok", "Cancel");
        return 1;
    }
pawn Код:
switch(dialogid)
    {
        case 1:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF0000FF, "You cancelled.");
                return 1;
            }
            switch(listitem)
            {
                case 0:
                {
                SendClientMessage(playerid, 0xFF0000FF, "Correct.");
                 ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"What is meta game?","Using ooc knowledge in IC\nForcing someone to RP\nMeet someone in RP","Ok", "Cancel");
                }
                case 1:
                {
                SendClientMessage(playerid, 0xFF0000FF, "Wrong");
                KickPlayer(playerid);
                }
                case 2:
                {
                SendClientMessage(playerid, 0xFF0000FF, "Wrong");
                KickPlayer(playerid);
                }
            }
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)