06.01.2011, 15:12
i want to make RP test to Raven's Roleplay modee in the register how can i do it?
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;
}
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);
}
}
}
}