06.06.2010, 20:20
Hey all,
I added a checkpoint under
public OnPlayerSpawn(playerid)
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)
The problem is, the menu doesnt show up? Does someone else know an other way?
I added a checkpoint under
public OnPlayerSpawn(playerid)
Код:
SetPlayerCheckpoint(playerid, 312.0186,-165.6558,999.6010, 1.0);
So I have put this code under
public OnPlayerEnterCheckpoint(playerid)
Код:
if(IsPlayerInRangeOfPoint(playerid,5.0,312.0186,-165.6558,999.6010)) { ShowMenuForPlayer(weapon, playerid); }