Bugged menu
#1

EDIT: i found out it was the pickup.
When i stand in the pickup it's scripted like this:
Код:
	if (pickupid == weapons)
	{
		ShowMenuForPlayer(mainwep,playerid);
		TogglePlayerControllable(playerid,false);
		return 1;
	}
Atm it goes to the main menu every second.

I want it like, it detects when you enter it, but not when you stand in it!
Reply
#2

Sorry if i bump to early, but i just edited the post and i think it's easier to understand what i mean now.
Reply
#3

I dont think this is avoidable, but you could destroy the pickup and then recreate when the player exits the menu.

pawn Код:
if(pickupid == weapons)
{
     DestroyPickup(weapons);
     TogglePlayerControllable(playerid, 0);
     ShowMenuForPlayer(playerid, mainwep);
}
- Then recreate the pickup on a timer. Maybe after 1 minute or something?
Reply
#4

Teleport the player just slightly, so he isn't on the icon ..

common sense eh?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)