Jump to content

How to script icon's in the map!


Recommended Posts

Hi!

Im new with scripting on mta and i use a resource mabako-services its making the payn&respray work & ammonition on the server! its only showed on the minimap if u are close to it

I learned how i make the icons with Createblip

But were i need to place it in?

Can i create a resources that i can start thats shows all icons than? or must i place it in the script himself?

I dont need all help with it because if somebody do it for me i cant do it for myself lol

Srry for my bad english

Regards

Ferriejxl

Link to comment

Ok if made the meta.xml, in the format u use the server say's : Could not parse meta! What it means i dont know but i changed it in:

<meta> 
<script src="icons.lua"/> 
</meta> 

Now he dont give me the error

I create icons.lua with this code :

Emmetgun createBlip ( float 1366.7922363281, float -1274.9412841797, float -1274.9412841797, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255,  
int ordering=0 *, float visibleDistance=99999.0, visibleTo = getRootElement()]  

i start the recourse from the server its running but i dont see the icon in the f11 map

What im doing wrong?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...