how to get this
#1

that if I visit a house /enter type that I will move to an interior
Reply
#2

please can someone help me please
Reply
#3

SetPlayerPos
SetPlayerInterior
Reply
#4

Basically it's like this :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/enter", cmdtext, true, 6) == 0)
  {
    SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
    SetPlayerInterior(playerid, InteriorID);
    return 1;
  }
  return 0;
}
But I recommend you to use dcmd or zcmd (If your using the command method shown above ^ )

If you want Interior ID resources with Pictures,
please do refer here :
http://weedarr.wikidot.com/interior
Reply
#5

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Посмотреть сообщение
Basically it's like this :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/enter", cmdtext, true, 6) == 0)
  {
    SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
    SetPlayerInterior(playerid, InteriorID);
    return 1;
  }
  return 0;
}
But I recommend you to use dcmd or zcmd (If your using the command method shown above ^ )

If you want Interior ID resources with Pictures,
please do refer here :
http://weedarr.wikidot.com/interior
yes i will this how to get this!

If you want Interior ID resources with Pictures,
please do refer here :
Reply
#6

can someone help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)