SA-MP Forums Archive
Pickup Question - 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: Pickup Question (/showthread.php?tid=199798)



Pickup Question - djaCido23 - 16.12.2010

Hi...how can i make an "i" or something for /exit and /enter for an HQ? ...a tutorial or something like this...Thanks!!!


Re: Pickup Question - Ash. - 16.12.2010

Could you explain what you are trying to do a little bit more please?


Re: Pickup Question - djaCido23 - 16.12.2010

Ok.So...at all gamemodes need to press /enter to enter in a HQ and /exit to get out...but when i write /enter i'm not enter in HQ...same story at /exit ...sorry for bad english xD


Re: Pickup Question - Ash. - 16.12.2010

You'll need to create the command for it...

Use dcmd - and then set the players position (SetPlayerPos) then their interior (SetPlayerInterior)

Simples


Re: Pickup Question - Baboon - 16.12.2010

dcmd sucks for a beginner, use SetPlayerPos and SetPlayerInterior, you can find what these means on sa-mp wiki. Also use a command