disqualified from the event

Started by UrbanY, Jun 06, 2018, 06:10 PM

Previous topic - Next topic

UrbanY

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?

Shadow

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...
QuotePS:is trash is ur home language??

kennedyarz

#2
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 (!)

umar4911

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;
}
I am gamer, programmer and hacker. Try to find me!
xD

NicusorN5

Quote from: kennedyarz on Jun 07, 2018, 12:08 AM
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 (!)
???