Raised This Month: $ Target: $400
 0% 

Problem on my plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 07-29-2014 , 16:11   Re: Problem on my plugin
Reply With Quote #1

PHP Code:
register_logevent("round_end"2"1=Round_End"
PHP Code:
public round_end()
{
    new 
players[32], num
    get_players
(playersnum"a"// alive players
    
    
for(new 0numi++)
    {
        
ColorChat(players[i],"You have received 200 xp for surviving the round")
        
iXp[players[i]]+= 200 // or whatever xp you want to give
        
CheckLevel(players[i])
        
SaveData(players[i])
    }

__________________
Hey ^_^

Last edited by NikKOo31; 07-29-2014 at 16:12.
NikKOo31 is offline
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 07-29-2014 , 16:49   Re: Problem on my plugin
Reply With Quote #2

Quote:
Originally Posted by NikKOo31 View Post
PHP Code:
register_logevent("round_end"2"1=Round_End"
PHP Code:
public round_end()
{
    new 
players[32], num
    get_players
(playersnum"a"// alive players
    
    
for(new 0numi++)
    {
        
ColorChat(players[i],"You have received 200 xp for surviving the round")
        
iXp[players[i]]+= 200 // or whatever xp you want to give
        
CheckLevel(players[i])
        
SaveData(players[i])
    }

not work...
Eviatar Mor is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 07-29-2014 , 17:05   Re: Problem on my plugin
Reply With Quote #3

Quote:
Originally Posted by Eviatar Mor View Post
not work...
From NikKOo31 looks good and must work maybe you forget register_logevent("round_end", 2, "1=Round_End") ?
__________________

Working on:
nothing
schmurgel1983 is offline
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 07-29-2014 , 17:38   Re: Problem on my plugin
Reply With Quote #4

Quote:
Originally Posted by schmurgel1983 View Post
From NikKOo31 looks good and must work maybe you forget register_logevent("round_end", 2, "1=Round_End") ?
I add register_logevent("round_end", 2, "1=Round_End") and still not work...
maybe because the hnr mod ?
Eviatar Mor is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 07-29-2014 , 17:58   Re: Problem on my plugin
Reply With Quote #5

Quote:
Originally Posted by Eviatar Mor View Post
I add register_logevent("round_end", 2, "1=Round_End") and still not work...
maybe because the hnr mod ?
I just see you already has logevent for round end. Did you removed before adding my code? Did you check error logs? Did you debug the plugin?
__________________
Hey ^_^
NikKOo31 is offline
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 07-31-2014 , 11:47   Re: Problem on my plugin
Reply With Quote #6

Quote:
Originally Posted by NikKOo31 View Post
I just see you already has logevent for round end. Did you removed before adding my code? Did you check error logs? Did you debug the plugin?
i not adding nothing to your code and nikkoo i think the mod not work great because the hnr system..
but i still post here the hnr mod:
http://pastebin.com/f0Dz5M8c

thanks about the help i really need this plugin...

Last edited by Eviatar Mor; 07-31-2014 at 11:47.
Eviatar Mor 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 13:15.


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