Gang System V1 -
iRaiDeN - 28.04.2014
Introduction
Hi friends, today you actually built a Gang, the system dis is just the base, maybe I'll continue it, in fact it is based on MySQL, available in seven orders, hope you enjoy.
Information
Actually, it is based on a database, you need to open a database named gangs, and then create Gangbang by the following:
PHP код:
g_name
g_motd
g_leader
g_hq_x
g_hq_y
g_hq_z
g_hq_int_x
g_hq_int_y
g_hq_int_z
Basically just pop in to phpMyAdmin and finished!
Commands
PHP код:
/gang invite
/gang kick
/gang motd
/gang hq
/gang tier
/gang accept
/gang leave
/makeleader
Download
Pastebin.
Solidfiels.
Comments
photos later!
enjoy!
Re: Gang System V1 -
UfsDev - 28.04.2014
No saving system?
Re: Gang System V1 -
iRaiDeN - 28.04.2014
Quote:
Originally Posted by UfsDev
No saving system?
|
its on MySQL
Re: Gang System V1 -
Kyance - 28.04.2014
Looks good, although
pawn Код:
public OnPlayerSpawn(playerid)
return SetPlayerPos(playerid,gInfo[playerid][g_pos_hq_int][0],gInfo[playerid][g_pos_hq_int][1],gInfo[playerid][g_pos_hq_int][2]);
You should make this a timer, because it could interface( or w,e ) with "random spawns".
And you should check if the player is in a group ;d
Re: Gang System V1 -
iRaiDeN - 28.04.2014
Quote:
Originally Posted by Kyance
Looks good, although
pawn Код:
public OnPlayerSpawn(playerid) return SetPlayerPos(playerid,gInfo[playerid][g_pos_hq_int][0],gInfo[playerid][g_pos_hq_int][1],gInfo[playerid][g_pos_hq_int][2]);
You should make this a timer, because it could interface( or w,e ) with "random spawns".
And you should check if the player is in a group ;d
|
ohh okay, i fix that later
Re: Gang System V1 -
momo123 - 28.04.2014
Good Job
Re: Gang System V1 -
iRaiDeN - 28.04.2014
Quote:
Originally Posted by iRaiDeN
ohh okay, i fix that later
|
thanks!
Re: Gang System V1 -
SalmaN97 - 28.04.2014
Thank you for sharing this i was searching for one but the problem is i cant use commands
filterscript,includes,plugins all loaded when i type the command for example (/gang) i get SERVER: Unkown Command ,gamemode commands working only ur script commands not working also tryed it with grandlarc gm but still same
Any idea?
Re: Gang System V1 -
iRaiDeN - 29.04.2014
Quote:
Originally Posted by SalmaN97
Thank you for sharing this i was searching for one but the problem is i cant use commands
filterscript,includes,plugins all loaded when i type the command for example (/gang) i get SERVER: Unkown Command ,gamemode commands working only ur script commands not working also tryed it with grandlarc gm but still same
Any idea?
|
you load the plugins?
Re: Gang System V1 -
satafinix - 29.04.2014
userfull, Good Job
Re: Gang System V1 -
iRaiDeN - 29.04.2014
Quote:
Originally Posted by satafinix
userfull, Good Job
|
Thanks!
Re: Gang System V1 -
iBanner - 29.04.2014
This looks great. But as Kyance said you should check if player is in a group. I'm looking forward to the next update mate! And I think you are the first one who released a gang script using mysql.
Re: Gang System V1 -
iRaiDeN - 29.04.2014
Quote:
Originally Posted by iBanner
This looks great. But as Kyance said you should check if player is in a group. I'm looking forward to the next update mate! And I think you are the first one who released a gang script using mysql.
|
yeah? its the first? and i will updated and fix bugs, soon V2, thanks!
Re: Gang System V1 -
Haxxoz - 29.04.2014
Good man!
Re: Gang System V1 -
Dangjai - 27.05.2014
Good job but can i use it without MYSQl?
Re: Gang System V1 -
youssefehab500 - 27.05.2014
Quote:
Originally Posted by iRaiDeN
Introduction
Hi friends, today you actually built a Gang, the system dis is just the base, maybe I'll continue it, in fact it is based on MySQL, available in seven orders, hope you enjoy.
Information
Actually, it is based on a database, you need to open a database named gangs, and then create Gangbang by the following:
PHP код:
g_name
g_motd
g_leader
g_hq_x
g_hq_y
g_hq_z
g_hq_int_x
g_hq_int_y
g_hq_int_z
Basically just pop in to phpMyAdmin and finished!
Commands
PHP код:
/gang invite
/gang kick
/gang motd
/gang hq
/gang tier
/gang accept
/gang leave
/makeleader
Download
Pastebin.
Solidfiels.
Comments
photos later!
enjoy!
|
bro in the next update you gotta add onplayertext and make the gang name appear before name as in the es: [Gang]Youssef(1): text text text it will rock the place xD and its easy i mean very easy but i dont use mysql so i cant doit in mysql if it was dini it have been the easiest thing please see my comment and make this as an update and thankx
Re: Gang System V1 -
youssefehab500 - 27.05.2014
Quote:
Originally Posted by iRaiDeN
Introduction
Hi friends, today you actually built a Gang, the system dis is just the base, maybe I'll continue it, in fact it is based on MySQL, available in seven orders, hope you enjoy.
Information
Actually, it is based on a database, you need to open a database named gangs, and then create Gangbang by the following:
PHP код:
g_name
g_motd
g_leader
g_hq_x
g_hq_y
g_hq_z
g_hq_int_x
g_hq_int_y
g_hq_int_z
Basically just pop in to phpMyAdmin and finished!
Commands
PHP код:
/gang invite
/gang kick
/gang motd
/gang hq
/gang tier
/gang accept
/gang leave
/makeleader
Download
Pastebin.
Solidfiels.
Comments
photos later!
enjoy!
|
bro in the next update you gotta add onplayertext and make the gang name appear before name as in the es: [Gang]Youssef(1): text text text it will rock the place xD and its easy i mean very easy but i dont use mysql so i cant doit in mysql if it was dini it have been the easiest thing please see my comment and make this as an update and thankx
Re: Gang System V1 - Guest4390857394857 - 27.05.2014
which mysql version plugin?
Re: Gang System V1 -
punklord - 27.05.2014
Quote:
Originally Posted by ShivRp
which mysql version plugin?
|
Yeah.
Re: Gang System V1 - Patrick - 27.05.2014
Quote:
Originally Posted by ShivRp
which mysql version plugin?
|
Quote:
Originally Posted by PunkLorD
Yeah.
|
By looking at the pastebin code evidently you could see the MySQL version he is using, well if you still don't know he's using mysql which is r33 or higher (latest r3