Jump to content

Recommended Posts

Posted

Hi, I made a script to load blips from mysql and show it on the map and it does not work ;'( do you the problem or do you have any ideas?

fxnzBwu.png

 

X0fXqAQ.png

 

taRmCYP.jpg

 

thx for helping !

 

Posted (edited)

Could be that the blip icon your setting isn't being read as an integer, can you try put

parseInt(results[i].blip)

and see if anything changes, if not can you just set it to a number yourself just for now for debugging purposes.

You should also be able to set your name as well inside the blip function, you shouldn't have to do it after it's created.

Also a side note, you can probably to mp.blips.length if you want the total length of all blips instead of doing configure.loaded_blip_count 

Edited by MrPancakers

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...