HELP with arrows and interiors!
#1

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
Reply
#2

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..
Reply
#3

Im sure I didnt understand anything about what you said...
Reply
#4

There is a script released which allows you to enter custom interiors by going to the arrows. Search for it.
Reply
#5

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...
Reply
#6

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

Код:
new myfirstpickup;
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.
Reply
#7

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
Reply
#8

Thank you!

What about making this?;
When player enters some pesific position with range, pops up some message (example) "You entered LS Airport"

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)