Need help - 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: Need help (
/showthread.php?tid=218053)
Need help -
Ironboy - 29.01.2011
I made a berger shot through mta :P
and i want to enter that shop.
how to do that? Is it possible?
Re: Need help -
TouR - 29.01.2011
all you need is the object and a "/enter" command
Re: Need help -
Ironboy - 29.01.2011
so i should make a command like that?
Re: Need help -
TouR - 29.01.2011
yeah, Basicly its just a teleport command that sets player's position in an interior
Re: Need help -
Mean - 29.01.2011
Make a pickup:
pawn Код:
new pickup;
public OnGameModeInit()
{
pickup = CreatePickup(...);
return 1;
}
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
SetPlayerPos(playerid, x, y, z);
//...
}
return 1;
}
Or use IsPlayerInRangeOfPoint in a command
Re: Need help -
Ironboy - 29.01.2011
ok thank you