24.02.2009, 15:22
Hy Guys,
i have a problem when i enter the pickup from my housesystem it opens a menu. Now the menu all 5 seconds refresh because OnPlayerPickUpPickup sends every 5 seconds the message ShowMenuForPlayer...
Here the code:
i have a problem when i enter the pickup from my housesystem it opens a menu. Now the menu all 5 seconds refresh because OnPlayerPickUpPickup sends every 5 seconds the message ShowMenuForPlayer...
Here the code:
Code:
public OnPlayerPickUpPickup(playerid, pickupid) { if(GetHouseID(playerid) != -255) { TogglePlayerControllable(playerid, 0); ShowMenuForPlayer(EnterHousePickup, playerid); return 1; } return 1; }