AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Plugin fix (https://forums.alliedmods.net/showthread.php?t=108671)

teol 11-08-2009 01:39

[Help] Plugin fix
 
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


All times are GMT -4. The time now is 17:35.

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