SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/02/2018, 07:01 AM   #1
Veetiz
Little Clucker
 
Join Date: Jul 2017
Posts: 1
Reputation: 0
Default Simple Mapping System(MySQL)

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

Last edited by Veetiz; 10/02/2018 at 09:04 AM.
Veetiz is offline   Reply With Quote
Old 10/02/2018, 08:16 AM   #2
TitoRayne
Big Clucker
 
Join Date: May 2017
Posts: 163
Reputation: 3
Default Re: Simple Mapping System

This is not savable tho...
TitoRayne is offline   Reply With Quote
Old 10/02/2018, 09:00 AM   #3
PepsiCola23
Gangsta
 
Join Date: May 2015
Posts: 681
Reputation: 3
Default Re: Simple Mapping System

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.
PepsiCola23 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Simple Briefcase System + A Simple Whisper System by kosa451 kosa451 Filterscripts 4 16/09/2013 08:20 PM
A [SIMPLE] Mechanic mapping. [LV] MichNasta Screenshots and Videos 2 12/08/2013 05:25 PM
Mapping Simple Help Pokiri_Boii Scripting Help 11 19/10/2012 09:58 AM


All times are GMT. The time now is 08:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.