AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Creature Mod (VERSION 1.5) (https://forums.alliedmods.net/showthread.php?t=61066)

X-Script 09-22-2007 09:16

Re: Creature Mod(Rebirth)
 
@stylerro: PM me and we can work this out.

@Zenith, i'll fix his errors for him, and thanks for posting the link.

Alright thank you, i'll be sure to fix this mistake.

M249-M4A1 09-22-2007 10:25

Re: Creature Mod(Rebirth)
 
Add a llama!!

X-Script 09-22-2007 10:26

Re: Creature Mod(Rebirth)
 
If you can find a llama skin for cstrike or czero I will indeed add a llama.

BlackMilk 09-22-2007 12:59

Re: Creature Mod(Rebirth)
 
Goomba? xD

X-Script 09-23-2007 09:48

Re: Creature Mod(Rebirth)
 
Quote:

Originally Posted by stylerro (Post 534092)
hi, u can help me with this?

L 09/22/2007 - 04:03:45: Invalid CVAR pointer
L 09/22/2007 - 04:03:45: [AMXX] Displaying debug trace (plugin "creaturemod.amxx")
L 09/22/2007 - 04:03:45: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/22/2007 - 04:03:45: [AMXX] [0] creaturemod.sma::showCreatureMenu (line 118)

Are you running the latest version of AMXX? 1.75? Also, did you download the plugin on his thread or my thread?

X-Script 09-23-2007 10:07

Re: Creature Mod (VERSION 1.5)
 
VERSION 1.5 RELEASED

-Fixed Code
-Fixed "Reset Hud"
-Fixed CVAR's
-Fixed Price's
-Fixed unwanted code
-Cod Cleanup

Zenith: I fixed everything you wanted me too fix.



Arkshine 09-23-2007 10:12

Re: Creature Mod (VERSION 1.5)
 
Code:
    for (i=0; i<playerCount; i++)     player = Players[i]         cs_reset_user_model(player)     set_user_health(player, 100)     set_user_armor(player, 0)     set_user_maxspeed(player, 320.0)     client_print(player, print_chat, "[Creature Mod] All people return to normal...")

Shoulde be :

Code:
    for (i=0; i<playerCount; i++)     {         player = Players[i]             cs_reset_user_model(player)         set_user_health(player, 100)         set_user_armor(player, 0)         set_user_maxspeed(player, 320.0)     }         client_print(0, print_chat, "[Creature Mod] All people return to normal...")


Also add the ML system would be great.


Code:
new cfgfile[64] format(cfgfile, 63, "%s/addons/amxmodx/configs/creaturemod.cfg", basedir)

Why did you format with the basedir ? you should use get_configsdir().


Code:
new alive = is_user_alive(id) if(alive==0)

No need to creste a var for that.

Code:
if( !is_user_alive(id) )


Code:
#include <core>

No need to include 'core'.

X-Script 09-23-2007 10:15

Re: Creature Mod (VERSION 1.5)
 
Thanks, fixed it I'll add the fix you just posted when I figure out how to add ML System, never done it before, never tried it before. So might be awhile.

Thank you.

Arkshine 09-23-2007 10:26

Re: Creature Mod (VERSION 1.5)
 
Code:
    spiderprice = register_cvar("cm_spiderprice", "2000")     chickenprice = register_cvar("cm_chickenprice", "2000")     lobsterprice = register_cvar("cm_lobsterprice", "2000")     alienprice = register_cvar("cm_alienprice", "2000")     spiderprice2 = register_cvar ("cm_spiderprice2", "2000")     chickenprice2 = register_cvar("cm_chickenprice2", "2000")     lobsterprice2 = register_cvar("cm_lobsterprice2", "2000")     alienprice2 = register_cvar("cm_alienprice2", "2000")

Can you explain me why you duplicate these cvars ?!!

X-Script 09-23-2007 10:35

Re: Creature Mod (VERSION 1.5)
 
Okay there fixed that too, I was trying something with them and forgot to delete them, sorry.

Now, time to try to figure out how to add ML System.


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

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