SA-MP Forums Archive
Mapicons in MYSQL? - 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: Mapicons in MYSQL? (/showthread.php?tid=170395)



Mapicons in MYSQL? - sjvt - 22.08.2010

is it possible to make mapicons in mysql?

if yes how must i make it then?


Re: Mapicons in MYSQL? - Scenario - 23.08.2010

I don't believe so... What's the point anyways?


Re: Mapicons in MYSQL? - sjvt - 23.08.2010

it's beautiful to do much things in mysql :P


Re: Mapicons in MYSQL? - Scenario - 23.08.2010

Dude, there isn't a point in doing so.


Re: Mapicons in MYSQL? - MrDeath537 - 23.08.2010

Yes it's possible. If you want to load the checkpoints via MySQL database you should upload to database your checkpoints info and load them with MySQL plugin. Not so hard.


Re: Mapicons in MYSQL? - sjvt - 23.08.2010

but how make i that? mapicons in mysql?

just like houses but then mapicons? how?


Re: Mapicons in MYSQL? - mick88 - 23.08.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Dude, there isn't a point in doing so.
There isn't a point in telling people that there's no point in doing what they want to do.

Anyways, back on topic, yes, it's possible, just create a table with your map icons (separate field for each parameter in AddPlayerMapIcon()). That way map icons are much easier to manage.


Re: Mapicons in MYSQL? - Kyosaur - 23.08.2010

For everyone saying there is no point, what about showing server data (like mapicons) on a map on your website?

like this: http://impulse99.com/map.php?pa&t&pr&r&h=1000&w=1000

Its a bit harder to manage IMO, but there is definitely a point, and it is completely possible.

Do as the above poster says and create a table for map icons, and setup the fields based on the parameters in CreateDynamicMapIcon/AddPlayerMapIcon. Once the table is setup, you might want to make a command for admins to add mapicons on the fly (once the command is typed, it shows in game, AND gets saved into the database).


Re: Mapicons in MYSQL? - DRIFT_HUNTER - 23.08.2010

People you go to far with mysql...why make icons in mysql?
Oh and Kyosaur there is DMAP+PHP+DJSON (its easy and simple)


Re: Mapicons in MYSQL? - sjvt - 30.08.2010

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
For everyone saying there is no point, what about showing server data (like mapicons) on a map on your website?

like this: http://impulse99.com/map.php?pa&t&pr&r&h=1000&w=1000

Its a bit harder to manage IMO, but there is definitely a point, and it is completely possible.

Do as the above poster says and create a table for map icons, and setup the fields based on the parameters in CreateDynamicMapIcon/AddPlayerMapIcon. Once the table is setup, you might want to make a command for admins to add mapicons on the fly (once the command is typed, it shows in game, AND gets saved into the database).
mmh? how