OnDialogResponse Assistance
#1

I need assistance with OnDialogResponse.






What I am trying to do is make it so if someone enters a players fake IP

lets say its

400.421.200.12

It will set the players variable to 1 and send them a message.

Everytime I try this..

I get no luck.

What's the issue?
Reply
#2

Bump :3
Reply
#3

That's not the way of showing your code. Show some more of the codes related to this and don't take picture. Directly paste it with [pawn] [/pawn] BBCode.
Reply
#4

its been a while

pawn Код:
if(dialogid == DIALOG_DDOS)
    {
        if(response)
        {
            foreach(Player, i)
            {
                if(strval(inputtext) == PlayerData[i][PIP])
                {
               
                    SendClientMessage(i,COLOR_YELLOW,"Tablet: Network status error: We are not able to connect to the internet. Attempting to regain connection..");
                    PlayerData[i][pDDOSED] = 1;

                }
            }
        }
Reply
#5

well 400.421.200.12 isn't a number so using strval would destroy it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)