Raised This Month: $ Target: $400
 0% 

Error when i try to compile plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tompietje
Junior Member
Join Date: Feb 2016
Old 03-05-2016 , 20:10   Error when i try to compile plugin
Reply With Quote #1

I know where the eroor is coming from but I used old coding and noticed that lots of things have changed last years.

I get this error: error 017: undefined symbol "GV_INT_maxClients"

This is the code that i has to be changed:

#endif
register_event("ResetHUD", "eventResetHUD", "bef")
g_iMaxPlayers = get_global_int(GV_INT_maxClients)
if(is_module_running("csx") || is_module_running("engine") || is_module_running("fakemeta") ) {
server_cmd(";wait;exit")
}

I hope someone can tell me what i have to change in order to get it fixed

btw is my first post on the forum so i hope it's in the correct section.
tompietje is offline
 



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:24.


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