Raised This Month: $ Target: $400
 0% 

[HELP]starting health with sql


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 01-05-2008 , 17:05   Re: [HELP]starting health with sql
Reply With Quote #6

when someone joins the server we load thare health frome mysql in to an array.
If we arent able to retrive a value it will be 0 so when we set thare health on spawn they shuld die.
It will be solve by adding a value into your database that i belive is the answer.
Else replace our load event frome connect to client_authorized
And you shuld add a condtion before we set thare health so we wont set hp if its 0.

Last edited by fxfighter; 01-05-2008 at 17:08.
fxfighter is offline
Send a message via MSN to fxfighter
 



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 11:10.


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