AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   XP-Based mod[SOLVED] (https://forums.alliedmods.net/showthread.php?t=86549)

iNspiratioN 02-27-2009 10:33

XP-Based mod[SOLVED]
 
Thx, padilha007 for solving this mystery :)

padilha007 02-27-2009 12:19

Re: GunXP-MOD
 
all correct, any erros on plugin?

iNspiratioN 02-27-2009 12:41

Re: GunXP-MOD
 
compiles fine to me iguess
Code:

Your plugin successfully compiled!
Use the link below to download your plugin.  It will be valid for ten minutes.

http://www.amxmodx.org/webcompiler.cgi?go=dl&id=497004Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/textMypICJ.sma(36) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textMypICJ.sma(39) : warning 217: loose indentation
Header size:          1024 bytes
Code size:            6512 bytes
Data size:            3100 bytes
Stack/heap size:      16384 bytes; estimated max. usage=449 cells (1796 bytes)
Total requirements:  27020 bytes

2 Warnings.
Done.


padilha007 02-27-2009 15:22

Re: GunXP-MOD
 
Solved.

iNspiratioN

iNspiratioN 02-28-2009 03:46

Re: GunXP-MOD
 
I just tested your Code but it doesn't give guns and LEVELS.

In HLDS.exe console i get this

Code:

L 02/28/2009 - 10:46:42: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/28/2009 - 10:46:49: String formatted incorrectly - parameter 5 (total 4)
L 02/28/2009 - 10:46:49: [AMXX] Run time error 25 (plugin "gunxp.amxx") - debug not enabled!

Edit:

Tryed adding "gunxp.amxx debug" in plugins.ini
and i got this

Code:

L 02/28/2009 - 11:15:34: String formatted incorrectly - parameter 5 (total 4)
L 02/28/2009 - 11:15:34: [AMXX] Displaying debug trace (plugin "gunxp.amxx")
L 02/28/2009 - 11:15:34: [AMXX] Run time error 25: parameter error
L 02/28/2009 - 11:15:34: [AMXX]    [0] phpunx16s.sma::eDeath (line 162)


padilha007 02-28-2009 10:57

Re: GunXP-MOD
 
line 162 to this:
PHP Code:

client_print(attackerprint_chat"[GunXP-MOD] Sveikinu! Tu esi lygyje %i!",PlayerLevel[attacker]) 


~Ice*shOt 03-03-2009 13:38

Re: GunXP-MOD
 
Quote:

Originally Posted by padilha007 (Post 771000)
line 162 to this:
PHP Code:

client_print(attackerprint_chat"[GunXP-MOD] Sveikinu! Tu esi lygyje %i!",PlayerLevel[attacker]) 


Tai kur cia problema ?
Why is problem ?

padilha007 03-03-2009 13:56

Re: GunXP-MOD
 
client_print(attacker, print_chat, "[GunXP-MOD] Sveikinu! Tu esi lygyje %i %s!",PlayerLevel[attacker], CLASSES[PlayerClass[attacker]])

missing
CLASSES[PlayerClass[attacker]]

iNspiratioN 03-03-2009 14:17

Re: GunXP-MOD
 
Quote:

Originally Posted by padilha007 (Post 773206)
client_print(attacker, print_chat, "[GunXP-MOD] Sveikinu! Tu esi lygyje %i %s!",PlayerLevel[attacker], CLASSES[PlayerClass[attacker]])

missing
CLASSES[PlayerClass[attacker]]

Yes. But i don't need classes.NVM i solved this DEBUGy thingy. You can remove all the code [Couse that Ice shot wants to copy my mod!]

:D krc bandai susikurt GunXP mod? :D kurk savo o ne i mano ziurejes as visai net nepanasu i batistos darau...

~Ice*shOt 03-04-2009 06:42

Re: GunXP-MOD
 
Quote:

Originally Posted by iNspiratioN (Post 773219)
Yes. But i don't need classes.NVM i solved this DEBUGy thingy. You can remove all the code [Couse that Ice shot wants to copy my mod!]

:D krc bandai susikurt GunXP mod? :D kurk savo o ne i mano ziurejes as visai net nepanasu i batistos darau...

Patikek nekutiu tokio kaip tu man reikia tik tos problemos isiaiskint kur reikia yrasyti ta koda kad tinkamam lvl gautum kita gun..


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

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