Teleporting
#1

Is there any way to add commands into a map and a checkpoint into that map that teleports you into an interior and when player is in interior he can /dance etc?
Reply
#2

pawn Код:
SetPlayerInterior(playerid, interiorid);
Reply
#3

Quote:
Originally Posted by sammp
Посмотреть сообщение
pawn Код:
SetPlayerInterior(playerid, interiorid);
Hm thanks but how can I add the cmds to work only in that interior
Reply
#4

Just use a if clause, Like this

Код:
if(GetPlayerInterior(playerid) == YourInteriorID)
{
    Execute command......Do what you want
}
else
{
    Dont execute command....
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)