Server Rules
#3

What he said, is if he declines, it should send the message to all, should have SendClientMessageToAll added

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    switch(
dialogid)
    {
        case 
Dialog_Rules:
        {
            if(!
response)
            {
                new 
string[128], name[40];
                
GetPlayerName(playeridnamesizeof(name));
                
format(stringsizeof(string), "%s has been kicked for declining the server rules!"name);
                
SendClientMessageToAll(0xFF0000FFstring); // Added
                
return 1;
            }
            
SendClientMessage(playerid,-1,"You have accepted the rules, Welcome to the server");
        }
    }
    return 
1;

Reply


Messages In This Thread
Server Rules - by x96664 - 25.05.2012, 21:12
Re: Server Rules - by Kindred - 25.05.2012, 21:46
Re: Server Rules - by Neil. - 25.05.2012, 22:18
Re: Server Rules - by x96664 - 26.05.2012, 11:23
Re: Server Rules - by skullmuncher1337 - 26.05.2012, 11:27
Re: Server Rules - by x96664 - 26.05.2012, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)