if(InPoly( player.Pos.x, player.Pos.y, -834.547, -386.178, -834.547, -385.178, -834.547, -384.365, -834.547, -383.319, -834.547, -382.178, -834.547, -381.6, -834.547, -380.35, -834.547, -379.334, -834.547, -378.318, -834.547, -377.287, -835.275, -376.645, -836.166, -376.645, -837.275, -376.645, -837.947, -376.645, -839.072, -376.645 ))
{
I_MSG("you have been desalified from the event", player);
player.World = 1;
}
this does not work for me can someone help me do better?
Maybe your intention was to negate the return value of InPoly, as in, you meant to add a '!' before it. Just a thought, I can't really understandn why your code _doesn't work_ because you provided no information...
Quote from: Shadow on Jun 06, 2018, 08:43 PMMaybe your intention was to negate the return value of InPoly, as in, you meant to add a '!' before it. Just a thought, I can't really understand why your code _doesn't work_ because you provided no information...
hahahahahhahaha (!)
if(!InPoly( player.Pos.x, player.Pos.y, -834.547, -386.178, -834.547, -385.178, -834.547, -384.365, -834.547, -383.319, -834.547, -382.178, -834.547, -381.6, -834.547, -380.35, -834.547, -379.334, -834.547, -378.318, -834.547, -377.287, -835.275, -376.645, -836.166, -376.645, -837.275, -376.645, -837.947, -376.645, -839.072, -376.645 ))
{
I_MSG("you have been desalified from the event", player);
player.World = 1;
}
Quote from: kennedyarz on Jun 07, 2018, 12:08 AMQuote from: Shadow on Jun 06, 2018, 08:43 PMMaybe your intention was to negate the return value of InPoly, as in, you meant to add a '!' before it. Just a thought, I can't really understand why your code _doesn't work_ because you provided no information...
hahahahahhahaha (!)
???