24.02.2009, 15:32
pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(GetHouseID(playerid) != -255)
{
if (GetPlayerMenu(playerid) != EnterHousePickup)
{
TogglePlayerControllable(playerid, 0);
ShowMenuForPlayer(EnterHousePickup, playerid);
return 1;
}
}
return 1;
}