04.09.2013, 00:08
Somethings like that?
You will have to use DisableInteriorEnterExits(); and then creating a pickup who will allow you to teleport to ammunation interioir.
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(GetPlayerInterior(playerid) == ID) // Amunation Interior
{
SetPlayerArmedWeapon(playerid, 0);
return 0;
}
return 1;
}
Quote:
Does any1 also know how I can close all interiors and have only open the selected one which I choose ? I know I can use -> DisableInteriorEnterExits(); but how I can open the selected interiors which I'm interested in for example Ammu-Nation or any other ? |