SA-MP Forums Archive
[FilterScript] Simple Mapping System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Mapping System (/showthread.php?tid=649508)



Simple Mapping System(MySQL) - Veetiz - 10.02.2018

Simple Mapping System by Veetiz

System requirements:
zcmd
mysql
foreach
sscanf


System commands:
/addobjlist : <object id><object name> - Add an object to Object's list
/deleteobjlist : <object id (listitem)> - Delete an object from list
/resetobjlist : Reset object's list
/objlist : View Object's list. We need to select an item to create an object.
/deleteobject : Delete a mapped object.
/resetobjects : Delete all mapped objects.

Pastebin:
Simple Mapping System


Re: Simple Mapping System - TitoRayne - 10.02.2018

This is not savable tho...


Re: Simple Mapping System - PepsiCola23 - 10.02.2018

Quote:
Originally Posted by TitoRayne
View Post
This is not savable tho...
i think it is
PHP Code:
 mysql_format(dbHandlequerysizeof(query), "INSERT INTO objects (obj_id, posx, posy, posz, rotx, roty, rotz) VALUES ('%d', '%f', '%f', '%f', '%f', '%f', '%f')"
just save them in your database and load them when server starts.