Jump to content
MakeWebGames

Recommended Posts

Posted (edited)

This mod was requested by Bennyh789 on this topic

This can also be found on my site here: http://magictallguy.tk/mods.php?mod=11

Gang House

SQLs

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Edit creategang.php

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Replace with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Edit yourgang.php

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add above

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Find the closing brace of the gang_index() function

Add below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add above

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Find the closing brace of the gang_staff_idx() function

Add below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 
Edited by Magictallguy
Updated code
  • 2 weeks later...
Posted

so far i've found a few errors... could be that my server isnt up to date but i know this error is easy fix :D....

 

be sure to replace your

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

also error on line 500....

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Warning: printf() [function.printf]: Too few arguments in /home/demonbat/public_html/yourgang.php on line 500

above is line 500...

Posted

after accepting them into the house you get this...

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '((`grrID` = 1) AND (`grrGang` = 1))' at line 1

Query was SELECT `grrUser` FROM `gangRentalRequests` WHEERE ((`grrID` = 1) AND (`grrGang` = 1))

Posted

also need links for the other options... the only link is the Gang house... which asks user if they wanna join, and the other is to view requests... i see no link addition for adding the house or upgrading it...

Posted (edited)

More consistent, also pretty sure these house queries, should be using $gangdata['gangHOUSE'] opposed to $gangdata['gangID']

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Pastie cause the highlighter is going to screw it up no doubt.

Edited by Djkanna
Posted
More consistent, also pretty sure these house queries, should be using $gangdata['gangHOUSE'] opposed to $gangdata['gangID']

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Pastie cause the highlighter is going to screw it up no doubt.

Thanks for the fixes, I've been way too busy with the family

Posted

**SUGGESTION**

add more "vacancy" slots as to let up to 4 players use same home at same time seeing as the price of the home is set to 10X original amount... or whatever one sets it to

along with ability to purchase up to 2 different houses?

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...