Raised This Month: $ Target: $400
 0% 

Help wih a new Script


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nona
Junior Member
Join Date: May 2007
Old 05-22-2007 , 08:17   Help wih a new Script
Reply With Quote #1

Hi friends

I need help with a script.

I would like a script for a Counter-Strike game.

That script will take a data from a mysql server. For example the data could be lives.

I would like that when you start the game the server take your lives in the web site. If you have lives > 0 you can play in the server. but if your lives are = 0 the server disconnect the user.

For example if you have 50 lives in the website. You can play.
But i would like too that if you started the game with 50 lives but you lost your lives playing, the server disconnects the user:
lives + killed = deaths <-- Server disconnect the user

For example if you have 50 lives and you kill 16 users you will have 66 lives but if you dead 66 times you will less all your lives so the server must discconect to the user.

I dont know how to do that. I need help with that script. Could help me?
a lot of thanks

Last edited by Nona; 05-22-2007 at 08:20.
Nona is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-22-2007 , 09:37   Re: Help wih a new Script
Reply With Quote #2

Show your script !?
__________________
regalis is offline
Nona
Junior Member
Join Date: May 2007
Old 05-22-2007 , 09:53   Re: Help wih a new Script
Reply With Quote #3

i dont know how to do exactly the script in fact i ask you for that
Nona is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-22-2007 , 10:12   Re: Help wih a new Script
Reply With Quote #4

That is what i thought ;)
You should post this in here :
http://forums.alliedmods.net/forumdisplay.php?f=12


Or if you want to do it on your own...maybe look at some stats plugins which communicate with a webserver!?
__________________
regalis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode