Guys hOw fix it
#1

im need like example:
at CrazyBob Server ,Show the message diaolog. For OnPlayerJoin The Box Appear,then The Box Destroy for Selecting character ....
How do i make it the message Box.


AND SORRY FOR BAD ENGLISH,me from malaysia.
pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Weilcome);
    TextDrawShowForPlayer(playerid, TheBoxy);
    TextDrawShowForPlayer(playerid, thelp);
    TextDrawShowForPlayer(playerid, ttele);
    TextDrawHideForPlayer(playerid, MoveCmd);
    TextDrawHideForPlayer(playerid, Textdraw5);
    TextDrawHideForPlayer(playerid, Textdraw0);
    TextDrawHideForPlayer(playerid, Textdraw1);
    TextDrawHideForPlayer(playerid, Textdraw2);
    TextDrawHideForPlayer(playerid, Textdraw4);
    TextDrawHideForPlayer(playerid, Textdraw6);
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"Welcome To Malaysia Revolusi Stunter Server Version:15.19!");
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"USAGE COMMANDS: /help & /cmds & /dmhelp /teles =For usage commands about help game");
        SendClientMessage(playerid, COLOR_BLUE,"MAIN ADMINISTRATOR: (1).Amalina (2).Billman87 (3).Kadswallop (4).Handjobs (5).Tahseen");
        SendClientMessage(playerid, COLOR_BLUE,"NEW COMMANDS: /DMHELP /MYSKIN & /LSBEACH ,More Info Go (our)FORUM GO: www.amalina1995.freeforums.org");
        //ShowPlayerDialog(playerid,Dialog_Rules,0,"INFORMATION","READ: 1.GENERAL COMMANDS: /v =For list vehicle & /help /rules /teles /dmhelp /cmds =ingame For Gamehelp.\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat.\n-4.Respect the people in the server & Admin,no insulting or swearing.\n-5.Do not pretend to be Admin.\n-6.Do not advertise other servers here.\n-7.Apply For Be member/admin at: http://IM HIDE IT Today!.","OKAY","OKAY");
        ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"GENERAL COMMANDS"," /v =For list vehicle & /help /rules /teles /dmhelp /cmds =For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: <IM HIDE IT> Today!");
        //ShowPlayerDialog(playerid,Dialog_Teles,2,"[STUNT version:15.19]:","CHECKOUT: /teles /cmds .\n-Use: /v =For Dialog Vehicle .\n-Do NOT ABUSE FOR BE ADMIN .\n-Do Not SPAM .\n-Do Not Advertise other Server To Here [BAN] .\n-Apply Our Forum For Member at <IM HIDE IT> .\n-checkout: /help /teles /cmds /rules .\n-<IM HIDE IT> .\n-Spoted A Hacker/cheater Use /report [ID] [REASON]","OKAY","OKAY");
    new string[128];
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "Information:Player %s Has Joined The Server.", pname);
    SendClientMessageToAll(COLOR_LIGHTBLUE, string);
    return 1;
}
Код:
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"GENERAL COMMANDS"," /v =For list vehicle & /help /rules /teles /dmhelp /cmds =For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: <my Web>!");
[HERE ARE ERROR]
C:\Documents and Settings\mafia\Desktop\STUNT.TEST.DIALOG.CONNECT.p wn(822) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

PICTURE:
/imageshack/i/fixff.jpg/
Reply
#2

You hav'nt used the ok button on the end, hence mismatch.

Peace...
Reply
#3

1. Where's ID of dialog.
2. Where's a keys on end of the line?
3. To destroy dialog use:
Код:
#define DestroyPlayerDialog(%1) ShowPlayerDialog(%1,-1,0,"","","","")
Reply
#4

pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Weilcome);
    TextDrawShowForPlayer(playerid, TheBoxy);
    TextDrawShowForPlayer(playerid, thelp);
    TextDrawShowForPlayer(playerid, ttele);
    TextDrawHideForPlayer(playerid, MoveCmd);
    TextDrawHideForPlayer(playerid, Textdraw5);
    TextDrawHideForPlayer(playerid, Textdraw0);
    TextDrawHideForPlayer(playerid, Textdraw1);
    TextDrawHideForPlayer(playerid, Textdraw2);
    TextDrawHideForPlayer(playerid, Textdraw4);
    TextDrawHideForPlayer(playerid, Textdraw6);
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"Welcome To Malaysia Revolusi Stunter Server Version:15.19!");
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"USAGE COMMANDS: /help & /cmds & /dmhelp /teles =For usage commands about help game");
        SendClientMessage(playerid, COLOR_BLUE,"MAIN ADMINISTRATOR: (1).Amalina (2).Billman87 (3).Kadswallop (4).Handjobs (5).Tahseen");
        SendClientMessage(playerid, COLOR_BLUE,"NEW COMMANDS: /DMHELP /MYSKIN & /LSBEACH ,More Info Go (our)FORUM GO: www.amalina1995.freeforums.org");
        //ShowPlayerDialog(playerid,Dialog_Rules,0,"INFORMATION","READ: 1.GENERAL COMMANDS: /v =For list vehicle & /help /rules /teles /dmhelp /cmds =ingame For Gamehelp.\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat.\n-4.Respect the people in the server & Admin,no insulting or swearing.\n-5.Do not pretend to be Admin.\n-6.Do not advertise other servers here.\n-7.Apply For Be member/admin at: http://IM HIDE IT Today!.","OKAY","OKAY");
        ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"GENERAL COMMANDS"," /v =For list vehicle & /help /rules /teles /dmhelp /cmds =For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: <IM HIDE IT> Today!");
        //ShowPlayerDialog(playerid,Dialog_Teles,2,"[STUNT version:15.19]:","CHECKOUT: /teles /cmds .\n-Use: /v =For Dialog Vehicle .\n-Do NOT ABUSE FOR BE ADMIN .\n-Do Not SPAM .\n-Do Not Advertise other Server To Here [BAN] .\n-Apply Our Forum For Member at <IM HIDE IT> .\n-checkout: /help /teles /cmds /rules .\n-<IM HIDE IT> .\n-Spoted A Hacker/cheater Use /report [ID] [REASON]","OKAY","OKAY");
    new string[128];
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "Information:Player %s Has Joined The Server.", pname);
    SendClientMessageToAll(COLOR_LIGHTBLUE, string);
    return 1;
}
here are..
Reply
#5

Omg..

Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Weilcome);
TextDrawShowForPlayer(playerid, TheBoxy);
TextDrawShowForPlayer(playerid, thelp);
TextDrawShowForPlayer(playerid, ttele);
TextDrawHideForPlayer(playerid, MoveCmd);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw6);
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Welcome To Malaysia Revolusi Stunter Server Version:15.19!");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"USAGE COMMANDS: /help & /cmds & /dmhelp /teles =For usage commands about help game");
SendClientMessage(playerid, COLOR_BLUE,"MAIN ADMINISTRATOR: (1).Amalina (2).Billman87 (3).Kadswallop (4).Handjobs (5).Tahseen");
SendClientMessage(playerid, COLOR_BLUE,"NEW COMMANDS: /DMHELP /MYSKIN & /LSBEACH ,More Info Go (our)FORUM GO: www.amalina1995.freeforums.org");
//ShowPlayerDialog(playerid,Dialog_Rules,0,"INFORMAT ION","READ: 1.GENERAL COMMANDS: /v =For list vehicle & /help /rules /teles /dmhelp /cmds =ingame For Gamehelp.\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat.\n-4.Respect the people in the server & Admin,no insulting or swearing.\n-5.Do not pretend to be Admin.\n-6.Do not advertise other servers here.\n-7.Apply For Be member/admin at: www.amalina1995.freeforums.org Today!.","OKAY","OKAY");
ShowPlayerDialog(playerid, YOUR_DIALOG_ID, DIALOG_STYLE_MSGBOX, "GENERAL COMMANDS", "/v = For list vehicle & /help /rules /teles /dmhelp /cmds = For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: www.amalina1995.freeforums.org Today!","OKAY","");
//ShowPlayerDialog(playerid,Dialog_Teles,2,"[STUNT EVOLUTION version:15.19]:","CHECKOUT: /teles /cmds .\n-Use: /v =For Dialog Vehicle .\n-Do NOT ABUSE FOR BE ADMIN .\n-Do Not SPAM .\n-Do Not Advertise other Server To Here [BAN] .\n-Apply Our Forum For Member at http://gta-samp.weebly.com/ .\n-checkout: /help /teles /cmds /rules .\n-MAIN ADMINISTRATOR: 1.Amalina 2.Billman87 3.Handjobs 4.Kadswallop .\n-Spoted A Hacker/cheater Use /report [ID] [REASON]","OKAY","OKAY");
new string[128];
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "Information:Player %s Has Joined The Server.", pname);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
DestroyPlayerDialog(playerid);
return 1;
}
Reply
#6

pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Weilcome);
    TextDrawShowForPlayer(playerid, TheBoxy);
    TextDrawShowForPlayer(playerid, thelp);
    TextDrawShowForPlayer(playerid, ttele);
    TextDrawHideForPlayer(playerid, MoveCmd);
    TextDrawHideForPlayer(playerid, Textdraw5);
    TextDrawHideForPlayer(playerid, Textdraw0);
    TextDrawHideForPlayer(playerid, Textdraw1);
    TextDrawHideForPlayer(playerid, Textdraw2);
    TextDrawHideForPlayer(playerid, Textdraw4);
    TextDrawHideForPlayer(playerid, Textdraw6);
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"Welcome To Malaysia Revolusi Stunter Server Version:15.19!");
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"USAGE COMMANDS: /help & /cmds & /dmhelp /teles =For usage commands about help game");
        SendClientMessage(playerid, COLOR_BLUE,"MAIN ADMINISTRATOR: (1).Amalina (2).Billman87 (3).Kadswallop (4).Handjobs (5).Tahseen");
        SendClientMessage(playerid, COLOR_BLUE,"NEW COMMANDS: /DMHELP /MYSKIN & /LSBEACH ,More Info Go (our)FORUM GO: www.amalina1995.freeforums.org");
        //ShowPlayerDialog(playerid,Dialog_Rules,0,"INFORMATION","READ: 1.GENERAL COMMANDS: /v =For list vehicle & /help /rules /teles /dmhelp /cmds =ingame For Gamehelp.\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat.\n-4.Respect the people in the server & Admin,no insulting or swearing.\n-5.Do not pretend to be Admin.\n-6.Do not advertise other servers here.\n-7.Apply For Be member/admin at: http://IM HIDE IT Today!.","OKAY","OKAY");
        ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"GENERAL COMMANDS"," /v =For list vehicle & /help /rules /teles /dmhelp /cmds =For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: <IM HIDE IT> Today!");
        //ShowPlayerDialog(playerid,Dialog_Teles,2,"[STUNT version:15.19]:","CHECKOUT: /teles /cmds .\n-Use: /v =For Dialog Vehicle .\n-Do NOT ABUSE FOR BE ADMIN .\n-Do Not SPAM .\n-Do Not Advertise other Server To Here [BAN] .\n-Apply Our Forum For Member at <IM HIDE IT> .\n-checkout: /help /teles /cmds /rules .\n-<IM HIDE IT> .\n-Spoted A Hacker/cheater Use /report [ID] [REASON]","OKAY","OKAY");
    new string[128];
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "Information:Player %s Has Joined The Server.", pname);
    SendClientMessageToAll(COLOR_LIGHTBLUE, string);
    return 1;
}
This man.
Reply
#7

What did you need still?
Reply
#8

u go crazybob Server then See The Dialog appear if u join...
...

im juz use ShowPlayerDialog(playerid,Dialog_Rules,0," My Command","OKAY","OKAY"); <--The Button Must Clicked.i not like it. after that going to selection character ...here are must be clicked
Reply
#9

pawn Код:
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,"GENERAL COMMANDS"," /v =For list vehicle & /help /rules /teles /dmhelp /cmds =For Gamehelp,\n-2.Do not use Hacks/Cheats.\n-3.Do not spam at the chat,\n-4.Respect the people in the server & Admin,no insulting or swearing,\n-5.Do not pretend to be Admin,\n-6.Do not advertise other servers here,\n-7.Apply For Be Clan/member at: www. Today!");
Im do it , but error:
Код:
C:\Documents and Settings\mafia\Desktop\STUNT.TEST.DIALOG.CONNECT.p wn(822) : error 035: argument type mismatch (argument 3)
ok i give clue..
i do not like button OK OK appear it. .. at diaolog...
Reply
#10

Um.. man i don't understand you. I'm from Poland and i learning only good English. Not 'mada faka yo eng' xd..
Id not added dialogue and and keys on the end.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)