Raised This Month: $ Target: $400
 0% 

Why does it says there's a warning here?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-29-2012 , 07:20   Why does it says there's a warning here?
Reply With Quote #1

Hello there,

Does anyone notice a warning inside here?
PHP Code:
public LoadData(id)
{
    new 
AuthID[35]
    
get_user_authid(id,AuthID,34)
    
    new 
vaultkey[64],vaultdata[256]
    
format(vaultkey,63,"%s-Models",AuthID)
    
format(vaultdata,255,"%i#",HasKatana[id])
    
nvault_get(g_vault,vaultkey,vaultdata,255)
    
    
replace_all(vaultdata255"#"" ")
    
    new 
haskatana[32]
    
    
parse(vaultdatahaskatana31)
    
    
line (596HasKatana[id] = str_to_num(haskatana)
    
    return 
PLUGIN_CONTINUE

Warning at
PHP Code:
 HasKatana[id] = str_to_num(haskatana
Warning: Tag mismatch on line 596

NOTE: HasKatana[id] is a bool.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 04-29-2012 , 07:25   Re: Why does it says there's a warning here?
Reply With Quote #2

HasKatana[id] = bool:str_to_num(haskatana)
__________________
<VeCo> is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-29-2012 , 07:26   Re: Why does it says there's a warning here?
Reply With Quote #3

Thanks <3
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro 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 07:52.


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