Jump to content
MakeWebGames

Kill Tokens... Kinda like Honor Awards...


AnonymousUser

Recommended Posts

KTExchange.php

 

You're unable to view this code.

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

 

Add this to your attack files...

under $_SESSION['attacking'] = 0;

You're unable to view this code.

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

 

Run Query

You're unable to view this code.

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

Edited by AnonymousUser
Fixed Bug/Typos
Link to comment
Share on other sites

  • 2 weeks later...

I have to add $_SESSION['attacking'] = 0; in all attack filles ?

In attack.php i have 5 rows with $_SESSION['attacking'] = 0;...

Where should i add $db->query("UPDATE users SET killtoken=killtoken+1 WHERE userid=$userid");?

I added points from database and the script works great..but i need to get points auto...after atack.

Link to comment
Share on other sites

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...