SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 28/05/2020, 02:37 PM   #1
Tudusek
Little Clucker
 
Join Date: May 2020
Posts: 2
Reputation: 0
Default Im immortal on my server

Hi. I finished my saving system, but when i connect to my server my health bar is flashing and I can't get hurt.
Does anyone know how to solve this?
Tudusek is offline   Reply With Quote
Old 28/05/2020, 02:43 PM   #2
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,712
Reputation: 1671
Default Re: Im immortal on my server

Look for all SetPlayerHealth functions in your script. If there are non constant values, make sure to print those values to see whats going on
__________________
When the opportunity presents itself to flip-a da table, uh, you flip-a da table.

Discord: Kwarde#8009
Kwarde is offline   Reply With Quote
Old 28/05/2020, 02:57 PM   #3
Tudusek
Little Clucker
 
Join Date: May 2020
Posts: 2
Reputation: 0
Default Re: Im immortal on my server

Thanks.
It did so because I was setting my health before I spawned.
Tudusek is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resources needed for running a server with 500 players connected? VPS / dedicated server. im Server Support 4 22/12/2014 05:43 PM
A hacker confesses: Uses the names Laura/Slasher/Immortal Aerotactics General 13 20/03/2014 11:49 PM
Every script I load, my server doesnt respond [+starting server need helpers] Cato Scripting Help 12 27/07/2013 05:42 PM
[FilterScript] Server Message [SERVER TIPS, SERVER MESSAGE OF THE DAY] - Simple, basic but editable! roar Filterscripts 10 28/02/2013 02:19 PM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.