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

Pages: 1 2 3


X337 Gang System (MySQL) - X337 - 17.08.2015

X337 Gang System
Features:
- Dynamic Gang Zone
- Gang Score
- Gang Color
- Gang Rank & Top gang List
- Gang Control Panel

Screenshot:
Command List :


Control Panel:


Attacking Territory:


Territory List:



More Pictures : Click

Information:
- You must redefine database information on line 16-19
Code:
#define HOSTNAME                ""
#define USERNAME                ""
#define PASSWORD                ""
#define DATABASENAME            ""
- You can change Default gangzone color, max. gang member, etc by editing this line.
Code:
#define AUTOSAVE                                30 // Save Player, Gangs, Zones data automatically! (In - Minutes);
#define MAX_ZONES                               100 // Maximum Gang Zone
#define MAX_GANGS                               100 // Maximum Gang
#define CAPTURE_TIME                            60 // Capture Time
#define LOCKED_MINUTES                          10
#define DIALOG_UNUSED                           1337 // Dialog ID
#define DEFAULT_ZONE_COLOR                      "000000AA" // Default hex colour for gang zone
#define REQUIRED_SCORE                          9999999 // Required score to make a new gang
#define MAX_GANG_MEMBER                         8 // Maximum gang member
Credits:
- MySQL plugin by BlueG
- sscanf, y_iterate, y_areas by ******
- zcmd by Zeex
- Gzone FS by Ryder

Pastebin Link *The SQL code is in bottom of script


Re: X337 Gang System (MySQL) - LazyB0y - 17.08.2015

Good Job!


Re: X337 Gang System (MySQL) - SpikY_ - 17.08.2015

Cool


Re: X337 Gang System (MySQL) - OnelifeGaming - 17.08.2015

Nice


Re: X337 Gang System (MySQL) - X337 - 17.08.2015

Quote:
Originally Posted by LazyBoyyyy
View Post
Good Job!
Quote:
Originally Posted by SpikY_
View Post
Cool
Quote:
Originally Posted by OnelifeGaming
View Post
Nice
Thanks Guys.


Re: X337 Gang System (MySQL) - TheSnaKe - 17.08.2015

Great, will try it soon, keep up the good work +rep.


Re: X337 Gang System (MySQL) - iTakelot - 17.08.2015

Very good guy, I'll use


Re: X337 Gang System (MySQL) - SecretBoss - 18.08.2015

Code:
(773) : error 017: undefined symbol "Area_GetPlayerAreas"
(796) : error 017: undefined symbol "Area_GetPlayerAreas"
(1008) : error 017: undefined symbol "Area_GetPlayerAreas"
(1115) : error 017: undefined symbol "Area_GetPlayerAreas"
(1362) : error 017: undefined symbol "Area_GetPlayerAreas"
(1411) : error 017: undefined symbol "Area_GetPlayerAreas"
Any help here?


Re: X337 Gang System (MySQL) - X337 - 19.08.2015

Quote:
Originally Posted by SecretBoss
View Post
Code:
(773) : error 017: undefined symbol "Area_GetPlayerAreas"
(796) : error 017: undefined symbol "Area_GetPlayerAreas"
(1008) : error 017: undefined symbol "Area_GetPlayerAreas"
(1115) : error 017: undefined symbol "Area_GetPlayerAreas"
(1362) : error 017: undefined symbol "Area_GetPlayerAreas"
(1411) : error 017: undefined symbol "Area_GetPlayerAreas"
Any help here?
This FS need y_areas.inc from YSI 4.0


Re: X337 Gang System (MySQL) - Sensation - 20.08.2015

Nice work but where is /gangs command?


Re: X337 Gang System (MySQL) - X337 - 21.08.2015

Quote:
Originally Posted by Sensation
View Post
Nice work but where is /gangs command?
You can check all gang commands at /gangcmds


Re: X337 Gang System (MySQL) - Ghazal - 22.08.2015

Nice job, might use it after improving if I created a server :P


Re: X337 Gang System (MySQL) - ognyanov - 22.08.2015

When i compile the file the pawno crash.There is a amx file but when i run the server he crashes.


Re: X337 Gang System (MySQL) - LMaxCo - 22.08.2015

Awesome job brada, keep it up


Re: X337 Gang System (MySQL) - X337 - 23.08.2015

Quote:
Originally Posted by ognyanov
View Post
When i compile the file the pawno crash.There is a amx file but when i run the server he crashes.
You need YSI 4.0 and re-define MySQL information before compiling.

Quote:
Originally Posted by LMaxCo
View Post
Awesome job brada, keep it up
Quote:
Originally Posted by Slotomic
View Post
Nice job, might use it after improving if I created a server :P
Thanks mates


Re: X337 Gang System (MySQL) - Remy0 - 25.08.2015

Very Nice Work

Suggestion : if you added a cmd to make a cars for a gang , will be better


Re: X337 Gang System (MySQL) - Kucin666 - 23.09.2015

Nice filterscript i was looking for this


Re: X337 Gang System (MySQL) - Pr0GreSiVe - 24.09.2015

Good job mate


Re: X337 Gang System (MySQL) - Rageparadise - 01.10.2015

http://s18.postimg.org/70nfgyvzt/sa_mp_154.png

why is the marker on the map gone after capturing it?


Re: X337 Gang System (MySQL) - Imissziu - 07.10.2015

help:

PHP Code:
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(99) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(99) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(99) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(99) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(100) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(101) : error 017undefined symbol "cache_num_rows"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(152) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(154) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(154) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(154) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(154) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(154) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(155) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(162) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(163) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(172) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(172) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(172) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(172) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(172) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(173) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(185) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(185) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(185) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(185) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(186) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(187) : error 017undefined symbol "cache_num_rows"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(190) : error 017undefined symbol "cache_get_field_content_int"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(199) : error 017undefined symbol "cache_get_field_content_int"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(200) : error 017undefined symbol "cache_get_field_content_int"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(204) : error 017undefined symbol "mysql_format"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(204) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(204) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(204) : warning 202number of arguments does not match definition
C
:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(205) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(206) : error 017undefined symbol "cache_insert_id"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(242) : error 017undefined symbol "mysql_log"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(244) : error 035argument type mismatch (argument 1)
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(245) : error 017undefined symbol "cache_num_rows"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(249) : error 017undefined symbol "cache_get_field_content_float"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(250) : error 017undefined symbol "cache_get_field_content_float"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(251) : error 017undefined symbol "cache_get_field_content_float"
C:\Users\Administrator\Desktop\GTA DM\filterscripts\gang.pwn(252) : error 017undefined symbol "cache_get_field_content_float"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase