two questions quickly - 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)
+--- Thread: two questions quickly (
/showthread.php?tid=402895)
two questions quickly -
gigicu01 - 28.12.2012
hello
i have 2 questions
1.i did a map and i put in map a house but i have a prooblem.how do i did for at command /enter or when the player put enter take him to an interior?
2.how did an empty interior?or please give me an empty interior.(this interior being the interior where will be taken the player at command /enter or when he press enter)
Re : two questions quickly -
DaRk_RaiN - 28.12.2012
For the teleport to an interior use
SetPlayerInterior and here are some
InteriorIDs
Re: two questions quickly -
gigicu01 - 28.12.2012
a small tutorial please?
Re: two questions quickly -
[CG]Milito - 28.12.2012
pawn Код:
dcmd_enter(playerid, params[])
{
#pragma unused params
SetPlayerInterior(playerid, INTERIORID);
SetPlayerPos(playerid, Float:x,Float:y,Float:z);
return1;
}
Re: two questions quickly -
gigicu01 - 29.12.2012
i have a question
at interior id what do i put?
https://sampwiki.blast.hk/wiki/InteriorIDs this is the site but what do i must put on INTERIORID?
and at Float: x;Float:y;Float z i must put coordonates's interior or coordonates's of pickup where the player press enter?