OnDialogResponse Assistance - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnDialogResponse Assistance (
/showthread.php?tid=474905)
OnDialogResponse Assistance -
Shockey HD - 10.11.2013
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?
Re: OnDialogResponse Assistance -
Shockey HD - 13.11.2013
Bump :3
Re: OnDialogResponse Assistance -
iZN - 13.11.2013
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.
Re: OnDialogResponse Assistance -
Shockey HD - 13.11.2013
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;
}
}
}
Re: OnDialogResponse Assistance -
cessil - 13.11.2013
well 400.421.200.12 isn't a number so using strval would destroy it