Jump to content
MakeWebGames

KyleMassacre

Members
  • Posts

    2,921
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by KyleMassacre

  1. First run this in your SQL: ALTER TABLE users ADD starter INT(11) DEFAULT 0;   Then in your loggedin.php add this:   if($ir['starter'] ==0) { $db->query("INSERT INTO inventory VALUES('',1025,$userid,1)"); event_add($ir['userid'],"you were given a complementary starter pack to get you going",$c); $db->query("UPDATE users SET starter=1 WHERE userid=$userid"); }   And change the "1025" to the itemid that you want to give and after the $userid change that to the qty that you want to give. The one i have set up is through a donator pack that you cant purchase that I created and thats why it is only 1 item that gives money, crystals, and weapons.
  2. how would i make it to where they keep getting interest daily but the interest is say 8% no matter if they have $1 or $20 million?
  3. im getting a error with this line $hprice=money_formatter($r['hPRICE']); and this is the error Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home********/public_html/properties.php on line 84
  4. Im getting an error with this line of code and im not SQL savvy by any means: $db->query("UPDATE users SET money=money+{$np['hPRICE']},maxwill=100 WHERE userid=$userid",$c); and here is the error im getting: 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 ' maxwill=100 WHERE userid=1' at line 1 Query was UPDATE users SET money=money+,maxwill=100 WHERE userid=1
  5. Im having the same issue. It worked before but now all of a sudden it stopped and my users can keep voting all they want and receive the rewards all they want
  6. thanks everyone, looks like I may have posted this in the wrong place what a nub i am
  7. Right now everytime my users rank up it ups there max energy and I dont want that to happen. My default is 12 but when they rank up it moves up 2 how can i fix that from happening?
  8. can anyone help me with this, its not sending events to the users?
  9. yeah but everyone always has something they have to say is wrong with it and currently i dont have the time to sit there and find everything that is wrong so if i could get pointed in the right direction for a good working one that would be great
  10. Im looking for a whole new estate system mod where you can have multiple properties, rent properties and create properties with an optional upkeep cost and if the players doesnt have to funds for up keep it automatically reverts them down to the default property and id like to add images to the properties as well. Im willing to pay if the price is right.
  11. i am using v2 lol why would it not let me just say "v2" haha
  12. yeah, i tried that but i couldnt get it to work for the life of me
  13. i also need a merger for my inventory but im not a coder so how would i do that?
  14. Alright still looking. Hit me up
  15. Hey everyone, im looking for a VIP that I can add as a donation item to give players special/extra benefits so if anyone can help me out let me know. Thanks
×
×
  • Create New...