Raised This Month: $ Target: $400
 0% 

show_hudmessage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mentors
Member
Join Date: Dec 2009
Old 01-09-2014 , 12:36   show_hudmessage
Reply With Quote #1

Hello i need help.

Why show_hudmessage lose indentation?

PHP Code:
case 1:
    {
    
set_user_health(idget_user_health(id) + 20);
    
set_hudmessage(00255, -1.00.306.02.0)
    
show_hudmessage(id"+20hp")
    return 
PLUGIN_HANDLED
        


Last edited by Mentors; 01-09-2014 at 12:37.
Mentors is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-09-2014 , 12:42   Re: show_hudmessage
Reply With Quote #2

Loose Indentation means that your Indentation is not consistent with the rest of the plugin. It does not effect anything other than readability and can be safely ignored if you wish.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Mentors
Member
Join Date: Dec 2009
Old 01-09-2014 , 12:50   Re: show_hudmessage
Reply With Quote #3

but perhaps this can be corrected?
Mentors is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-09-2014 , 13:00   Re: show_hudmessage
Reply With Quote #4

Yes, correct the indentation so it is consistent with the rest of the code.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Mentors
Member
Join Date: Dec 2009
Old 01-09-2014 , 13:11   Re: show_hudmessage
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
Yes, correct the indentation so it is consistent with the rest of the code.
Thanks, and you can little help with this?

if(!atk || atk == vct || !is_user_alive(atk) || is_user_connected(atk) || (get_user_flags(atk) & ADMIN_LEVEL_H)))
Mentors is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-09-2014 , 14:05   Re: show_hudmessage
Reply With Quote #6

Quote:
Originally Posted by Mentors View Post
Thanks, and you can little help with this?

if(!atk || atk == vct || !is_user_alive(atk) || is_user_connected(atk) || (get_user_flags(atk) & ADMIN_LEVEL_H)))
Post a new thread for each issue please. Also, explain what you want
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 01-10-2014 , 07:17   Re: show_hudmessage
Reply With Quote #7

Quote:
Loose Indentation means that your Indentation is not consistent with the rest of the plugin. It does not effect anything other than readability and can be safely ignored if you wish.
Quote:
Loose Indentation means that your Indentation is not consistent with the rest of the BLOCK. It does not effect anything other than readability and can be safely ignored if you wish.
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline
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

Forum Jump


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


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