Raised This Month: $32 Target: $400
 8% 

deleted


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 06-06-2016 , 13:13   deleted
Reply With Quote #1

deleted

Last edited by GlobalPlague; 06-08-2016 at 08:04.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-06-2016 , 14:31   Re: How to fix these errors?
Reply With Quote #2

Check if the player is connected. For the last one, check if he is alive.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 06-06-2016, 14:57
GlobalPlague
This message has been deleted by GlobalPlague. Reason: g
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 06-06-2016 , 15:01   Re: How to fix these errors?
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Check if the player is connected. For the last one, check if he is alive.
Now i have to add checks? And where i have to add them?

Last edited by GlobalPlague; 06-06-2016 at 15:01.
GlobalPlague is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 06-07-2016 , 01:24   Re: How to fix these errors?
Reply With Quote #4

Quote:
Originally Posted by GlobalPlague View Post
Now i have to add checks? And where i have to add them?
On the lines where errors appear.
siriusmd99 is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 06-07-2016 , 06:48   Re: How to fix these errors?
Reply With Quote #5

Can someone add the checks? I cand do it, because i can't understand it... I see that the checks are already there.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-07-2016 , 06:55   Re: How to fix these errors?
Reply With Quote #6

I don't see them. You're in the scripting section, so you should or at least try to make it yourself.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
KaLoIaN
Senior Member
Join Date: Feb 2013
Old 06-07-2016 , 08:01   Re: How to fix these errors?
Reply With Quote #7

If user is not alive return

Code:
if(!is_user_alive(id)) return PLUGIN_HANDLED

If user is not connected return
Code:
if(!is_user_connected(id)) return PLUGIN_HANDLED

Last edited by KaLoIaN; 06-07-2016 at 08:01.
KaLoIaN is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 06-08-2016 , 06:52   Re: How to fix these errors?
Reply With Quote #8

Quote:
Originally Posted by KaLoIaN View Post
If user is not alive return

Code:
if(!is_user_alive(id)) return PLUGIN_HANDLED

If user is not connected return
Code:
if(!is_user_connected(id)) return PLUGIN_HANDLED
I'm now sure where to write this... Just tell me which rows i have to change.
GlobalPlague is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-08-2016 , 07:33   Re: How to fix these errors?
Reply With Quote #9

Then you shouldn't be in the Scripting Help forum, but rather in the Requests one. You are expected to know scripting basics here. You should've read the posting guidelines (which is a sticky topic) before posting here.
People aren't directly helping you because of that, they expect you to do it by yourself.

Last edited by klippy; 06-08-2016 at 07:33.
klippy 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 09:41.


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