SA-MP Forums Archive
[Solved]ShowMenuForPlayer won't work - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved]ShowMenuForPlayer won't work (/showthread.php?tid=137968)



[Solved]ShowMenuForPlayer won't work - ruckfules99 - 30.03.2010

I'm trying to show a menu for a player if they enter a certain checkpoint but it won't show.

When i put it in a command it works, but not when player enters the checkpoint....




Код:
else if (gCheckpoint[19] == checkpointid)
	{
	ShowMenuForPlayer(Armywepmenu, playerid);
	return 1;
	}



Re: ShowMenuForPlayer won't work - biltong - 30.03.2010

Are you sure you have the right checkpoint?


Re: ShowMenuForPlayer won't work - ruckfules99 - 30.03.2010

Yes, The checkpoint is correct. I Have 2 checkpoints that i want to do the same thing, so my 2nd checkpoint is


Код:
else if (gCheckpoint[20] == checkpointid)
	{
	ShowMenuForPlayer(Armywepmenu, playerid);
	return 1;
	}

And it's the same thing, the menu won't open


Re: [Help]ShowMenuForPlayer won't work - ruckfules99 - 30.03.2010

FIXED never mind.