AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Error Compiling (https://forums.alliedmods.net/showthread.php?t=162464)

Mankind 07-19-2011 08:03

Error Compiling
 
1 Attachment(s)
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!

drekes 07-19-2011 08:20

Re: Error Compiling
 
You're missing a " here:
PHP Code:

register_clcmd("say /days, "specialday_check") 


Mankind 07-19-2011 09:00

Re: Error Compiling
 
Still geting the same error, idk why, maby there something with whole plugin.

Exolent[jNr] 07-19-2011 09:18

Re: Error Compiling
 
Quote:

Originally Posted by Mankind (Post 1513770)
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.

Mankind 07-19-2011 09:31

Re: Error Compiling
 
Quote:

Originally Posted by Exolent[jNr] (Post 1513779)
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 07-19-2011 10:29

Re: Error Compiling
 
All compiles and everything is ok, but when i write /days the menu doesn't pop up. What should I do?

Exolent[jNr] 07-19-2011 10:33

Re: Error Compiling
 
Show full code.

Mankind 07-19-2011 10:40

Re: Error Compiling
 
So can You help me please?

drekes 07-19-2011 12:12

Re: Error Compiling
 
Quote:

Originally Posted by Exolent[jNr] (Post 1513829)
Show full code.



All times are GMT -4. The time now is 00:52.

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