/shout not working
#8

Oh yeah, and the code.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response)
        {
        switch(dialogid == 1)
            {
                case 9001:
                {
                    SendClientMessageToAll(-1, 'test')
                    if(strlen(inputtext) > 0)
                    {
                        new name[MAX_PLAYER_NAME], string[128];
                        GetPlayerName(playerid, name, sizeof(name));
                        format(string, sizeof(string), "VIP %s shouted: {00ffff}%s", name, inputtext);
                        SendClientMessageToAll(0xFFAA3300, string);
                    }
                    else
                    {
                        SendClientMessage(playerid, 0xFF000000, "Your shout needs to be more than 0 character!");
                    }
                }
            }
        }
    return 1;
}
Am I right? .__.
Reply


Messages In This Thread
/shout not working - by LeeXian99 - 25.03.2013, 02:53
Re: /shout not working - by Joao Pedro - 25.03.2013, 02:55
Re: /shout not working - by LeeXian99 - 25.03.2013, 02:59
Re: /shout not working - by Joao Pedro - 25.03.2013, 03:04
Re: /shout not working - by LeeXian99 - 25.03.2013, 03:06
Re: /shout not working - by Joao Pedro - 25.03.2013, 03:17
Re: /shout not working - by LeeXian99 - 25.03.2013, 03:19
Re: /shout not working - by LeeXian99 - 25.03.2013, 03:25
Re: /shout not working - by Joao Pedro - 25.03.2013, 03:37
Re: /shout not working - by LeeXian99 - 25.03.2013, 04:19

Forum Jump:


Users browsing this thread: 3 Guest(s)