Raised This Month: $ Target: $400
 0% 

[Help] Plugin fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 11-08-2009 , 01:39   [Help] Plugin fix
Reply With Quote #1

Hello,

I found a plugin here : http://amxx.pl/viewtopic.php?t=11023

I decided to translate it to French. ( The plugin translated is joined to the post )

But There are some problems :

When you level UP, a menu appears and normally, we choose a statistic.
But there, the menu appears, but we can't choose any statistic ( when I press the number of the statistic the menu disapears and it choose nothing )...

The code is ( line 1787 ) :

PHP Code:
/* FUNCTIONS ====================================================================================== */

public skilltree(id)
{
    new 
text[513
    new 
keys = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)
    
    
    
format(text512"\yChoisissez une habilite- \rPoints: %i^n^n\w1. Intelligence [%i] [Augmente les dommages magiques]^n\w2. Resistance [%i] [Plus de vie]^n\w3. Agilite [%i] [Reduit les dommages physiques]^n\w4. Dexterite [%i] [Augmente la vitesse et reduit les dommages magiques]",player_point[id],player_intelligence[id],player_strength[id],player_agility[id],player_dextery[id]) 
    
    
keys = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)
    
show_menu(idkeystext
    return 
PLUGIN_HANDLED  

The problem is also with the "say /rune" menu...

Thanks
teol 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 17:35.


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