Checkpoint / Menu problem
#1

Hey all,

I added a checkpoint under

public OnPlayerSpawn(playerid)
Код:
SetPlayerCheckpoint(playerid, 312.0186,-165.6558,999.6010, 1.0);
and I want that, if you go on this checkpoint, it should show a menu.
So I have put this code under

public OnPlayerEnterCheckpoint(playerid)

Код:
if(IsPlayerInRangeOfPoint(playerid,5.0,312.0186,-165.6558,999.6010))
{
ShowMenuForPlayer(weapon, playerid);
}
The problem is, the menu doesnt show up? Does someone else know an other way?
Reply
#2

If you want to show a menu named "weapon", you should have one too. Do you have it at the top somewhere? Show the menu code then.
Or better, use the new >>>>Dialogs<<<< (Note: You need Server package 0.3 to use Dialogs)
Reply
#3

Ive got all...The menu also works (I tested it with a command). It only doesnt show up with a checkpoint.
Reply
#4

Nobody can help ?
Sry for double post.
Reply
#5

Do you have something else under OnPlayerEnterCheckpoint ?
Reply
#6

Quote:
Originally Posted by MadeMan
Do you have something else under OnPlayerEnterCheckpoint ?
Yes, checkpoints from jobs.
Reply
#7

Quote:
Originally Posted by Vialpando
Quote:
Originally Posted by MadeMan
Do you have something else under OnPlayerEnterCheckpoint ?
Yes, checkpoints from jobs.
Can you show it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)