How to create interior enter code
#1

Hello, I am creating a new gamemode and I am new to pawno, Can someone tell me how to create /enter to enter a interior for a special building?
Reply
#2

save the pos of the door from which a players enters to the interior,
the create a cmd
and check
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, Range, X,Y,Z);
{
    //Player is in range,
    //SetPlayerPos(playerid, X,Y,Z); // The pos of door in interior
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)