HELP with arrows and interiors! - 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: HELP with arrows and interiors! (
/showthread.php?tid=136159)
HELP with arrows and interiors! -
Assyria - 23.03.2010
Hello!
I am pretty new in scripting, so dont judge me asking things like this, and no, I didnt found answer by searching from the forum or using samp wiki.
I want to know how to make an yellow arrow or a red circle, what you walk in and it teleports you to a pesific interior you want.
And also if anyone knows how to make this happen too, I would love to know it too!:
When player enters a pesific position with range, pops up message (example) "you entered something"
I appreciate all the answers and effort you make on writing to me
Regards,
Assyria
Re: HELP with arrows and interiors! -
Kevin_Wolf - 23.03.2010
In order to get the yellow arrow or other things like the two people next to eachother "i" icon or 2 skulls, you need to search for some "Pickup" ids..
Example: Pickup id: 1313 is two red men next to eachother, 1314 is two skulls, 1239 is the "i" icon..
Re: HELP with arrows and interiors! -
Assyria - 23.03.2010
Im sure I didnt understand anything about what you said...
Re: HELP with arrows and interiors! -
Correlli - 23.03.2010
There is a script released which allows you to enter custom interiors by going to the arrows. Search for it.
Re: HELP with arrows and interiors! -
Assyria - 23.03.2010
Quote:
Originally Posted by Don Correlli
There is a script released which allows you to enter custom interiors by going to the arrows. Search for it.
|
Witch name is..? Give me little help, I dont want to scrab through 130 pages...
Re: HELP with arrows and interiors! -
kamilbam - 23.03.2010
You should:
1.
https://sampwiki.blast.hk/wiki/CreatePickup
2.
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
In OnGameModeInit you create pickup like:
On top of script
Then in OnGameModeInit
Код:
myfirstpickup = CreatePickup(model, type, x,y,z, virtualworld)
After that in OnPlayerPickUpPickup
Код:
if(pickupid = myfirstpickup)
{
SetPlayerPos(playerid,x,y,z);
SetPlayerInterior(playerid, interiorid);
return 1;
}
That's how you create teleports by pickup.
Sry for mistakes if any.
Re: HELP with arrows and interiors! -
Correlli - 23.03.2010
Quote:
Originally Posted by Assyria
Witch name is..? Give me little help, I dont want to scrab through 130 pages...
|
http://forum.sa-mp.com/index.php?topic=146717.0
Re: HELP with arrows and interiors! -
Assyria - 23.03.2010
Thank you!
What about making this?;
When player enters some pesific position with range, pops up some message (example) "You entered LS Airport"