[HELP] Rules Dialog errors
#5

i rechanged a bit to this:

pawn Код:
#include <a_samp>

#define FILTERSCRIPT
#define COLOR_YELLOW 0xFFFF00AA

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" dialog");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,"Rules","1.Cheating and hacking - Permban\n2.Write on the forum if you want help!\nhttp://freeroam-samp.ucoz.com/forum\n3.Race on LS only\n4.Respect The Administrators and the moderators!\n5.Report asap if you see glitch/bug/cheaters/hackers!","Agree","Deny");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 100)
    {
        if(response)
        {
            SendClientMessageToAll(COLOR_YELLOW,"thx for accept rules");
        }
        else if(response == 0)
        {
            SendClientMessageToAll(COLOR_YELLOW,"you have not accept the rules kick");
            Kick(playerid);
        }
    }
    return 1;
}
and i got 1 error

Код:
C:\Documents and Settings\Old Smurf\My Documents\Hдmtade filer\gta\freeroam\filterscripts\dialog.pwn(19) : error 021: symbol already defined: "ShowPlayerDialog"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
[HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 00:39
Re: [HELP] Rules Dialog errors - by ColdXX - 31.10.2010, 01:10
Re: [HELP] Rules Dialog errors - by [L3th4l] - 31.10.2010, 01:15
Re: [HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 09:25
Re: [HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 09:39
Re: [HELP] Rules Dialog errors - by iJumbo - 31.10.2010, 09:42
Re: [HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 09:52
Re: [HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 10:30
Re: [HELP] Rules Dialog errors - by Kidemo - 31.10.2010, 10:40
Re: [HELP] Rules Dialog errors - by jonnyboy - 31.10.2010, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)