No errors but problem
#1

I create a register/login with DoF2.
In register dialog i have in response 0 this:

Код:
			if(response == 0)
			{
				DOF2_RemoveFile(REGFILE);
				Kick(playerid);
				}
But Kick (playerid); is not response.
Drialog is closed and game continues.
Reply
#2

pawn Код:
if(!response)
{
    DOF2_RemoveFile(REGFILE);
    Kick(playerid);
    return 1;              
}
Try that might solve your problem if the problem is not with DoF2.
Reply
#3

Try:
PHP код:
            if(!response)
            {
                
Kick(playerid);
                return 
DOF2_RemoveFile(REGFILE);
            } 
Reply
#4

Just add return 1; and it should work
Reply
#5

Neither worked. After both the game continues.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)