Function to be used when a player enter's an interior?
#2

Quote:
Originally Posted by indi
Посмотреть сообщение
Well, another newb here.

I want to know if there is a function like umm

pawn Код:
public OnPlayerEnterInterior(playerid,interiorid)
{
   SetPlayerbllablabla(code continues);
   return 1;
}
Is it posibble?
pawn Код:
forward OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid);
I'm not sure what versions of SA-MP supports that, but I know a version does...

EDIT:
0.3c RC2 does.. so just use:
pawn Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
        //code
    return 1;
}
Reply


Messages In This Thread
Function to be used when a player enter's an interior? - by indi - 02.11.2011, 12:35
Re: Function to be used when a player enter's an interior? - by Jack_Leslie - 02.11.2011, 12:56
Re: Function to be used when a player enter's an interior? - by indi - 02.11.2011, 13:11

Forum Jump:


Users browsing this thread: 2 Guest(s)