how to get this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to get this (
/showthread.php?tid=163917)
how to get this -
admine - 29.07.2010
that if I visit a house /enter type that I will move to an interior
Re: how to get this -
admine - 29.07.2010
please can someone help me please
Re: how to get this -
ikey07 - 29.07.2010
SetPlayerPos
SetPlayerInterior
Re: how to get this -
ViruZZzZ_ChiLLL - 29.07.2010
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
Re: how to get this -
admine - 29.07.2010
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 :
Re: how to get this -
admine - 29.07.2010
can someone help me