Commands in Bank interiors
#1

Ok, i creating bank system, i'm still a lil bit newbie in scripting so, i just need to know, how to check if is player in one of 24/7 interiors, then i allow him to use bank commands, any info how to do it? i know its can be done with is player on range of point but, it only will work in 1 interior :S, i need it for all interiors
Reply
#2

Something like this?
PHP код:
public OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    if(
newinteriorid == ID//Change it to your building's intrior ID.
    
{
        
//Your code here.
    
}
    return 
1;

Reply
#3

Yeah but, i need it for all 24/7 interiors
if(player in 24/7 interior)
{
my commands here :S
}
Reply
#4

PHP код:
if(GetPlayerInterior(playerid) == your_interior_id){ /*do something*/ 
Reply
#5

Yeah but it will do in the whole interior, not only 24/7 lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)