How can i make that players freeze when they exit interiors.
#4

Not tested.

pawn Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
    if(newinteriorid == 0)
        TogglePlayerControllable(playerid,0);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)