Raised This Month: $ Target: $400
 0% 

Error Compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mankind
Member
Join Date: Jun 2009
Old 07-19-2011 , 08:03   Error Compiling
Reply With Quote #1

Hey, I was compiling this Jailbreak Days plugin, and got theese errors, that i couldn't fix. So im asking here for help, to help me fix it, please.

PHP Code:
public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHam(Ham_Spawn"player""player_spawn"1)
    
register_event("CurWeapon""Event_CurWeapon""be","1=1")
    
cvar_daysmenu register_cvar("jbe_enable_days""1")
    
register_clcmd("say /days, "specialday_check")
    
    g_max_clients = get_maxplayers()


Line 57 - 59 are from register_clcmd to g_max_clients.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	error.JPG
Views:	133
Size:	52.8 KB
ID:	89132  
Mankind is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-19-2011 , 08:20   Re: Error Compiling
Reply With Quote #2

You're missing a " here:
PHP Code:
register_clcmd("say /days, "specialday_check") 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Mankind
Member
Join Date: Jun 2009
Old 07-19-2011 , 09:00   Re: Error Compiling
Reply With Quote #3

Still geting the same error, idk why, maby there something with whole plugin.
Mankind is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-19-2011 , 09:18   Re: Error Compiling
Reply With Quote #4

Quote:
Originally Posted by Mankind View Post
Still geting the same error, idk why, maby there something with whole plugin.
Did you even add the " back? drekes didn't do it in his post.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Mankind
Member
Join Date: Jun 2009
Old 07-19-2011 , 09:31   Re: Error Compiling
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Did you even add the " back? drekes didn't do it in his post.
Ehh, Thanks I didn't. Got some more errors but fixed them. Thanks to both of You.
Mankind is offline
Mankind
Member
Join Date: Jun 2009
Old 07-19-2011 , 10:29   Re: Error Compiling
Reply With Quote #6

All compiles and everything is ok, but when i write /days the menu doesn't pop up. What should I do?
Mankind is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-19-2011 , 10:33   Re: Error Compiling
Reply With Quote #7

Show full code.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-19-2011 , 12:12   Re: Error Compiling
Reply With Quote #8

Quote:
Originally Posted by Exolent[jNr] View Post
Show full code.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Mankind
Member
Join Date: Jun 2009
Old 07-19-2011 , 10:40   Re: Error Compiling
Reply With Quote #9

So can You help me please?

Last edited by Mankind; 07-19-2011 at 11:23.
Mankind 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 00:51.


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