Raised This Month: $ Target: $400
 0% 

Problem on my plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 07-29-2014 , 16:51   Re: Problem on my plugin
Reply With Quote #1

Quote:
Originally Posted by MrKiller2010 View Post
Change:
PHP Code:
public eventRoundEndid )
{
    if(
is_user_alive(id))
    {
        new 
XPtoGive 400 // Change amount of XP
        
ColorChat(id,"You have received %s for surviving the round"XPtoGive);
        
iXp[id]+= XPtoGive
        
    
}

To:
PHP Code:
public eventRoundEndid )
{
    if(
is_user_alive(id))
    {
        
ColorChat(id,"You have received 400 for surviving the round");
        
iXp[id]+= 400
        
    
}

not work...
Eviatar Mor is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 07-31-2014 , 14:05   Re: Problem on my plugin
Reply With Quote #2

I mean ->
Quote:
Originally Posted by Eviatar Mor View Post
Hello,

PHP Code:
    public plugin_init() {  
//.........
    //logevent
    
register_logevent("logevent_round_end"2"1=Round_End"
//.........
}


//........
    
public logevent_round_endid ){
    if(
is_user_alive(id){
    
   }
  } 
You already have event round_end in the code you posted. You need to remove that, and then add the code I gave you. Post your currently code to see what you have done
__________________
Hey ^_^
NikKOo31 is offline
Eviatar Mor
Senior Member
Join Date: Jun 2014
Location: israel
Old 07-31-2014 , 14:10   Re: Problem on my plugin
Reply With Quote #3

Quote:
Originally Posted by NikKOo31 View Post
I mean ->


You already have event round_end in the code you posted. You need to remove that, and then add the code I gave you. Post your currently code to see what you have done
i remove that register_logevent("logevent_round_end", 2, "1=Round_End")
and add your code and still not work...
i just not level up in end round
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