Raised This Month: $51 Target: $400
 12% 

Creature Mod (VERSION 1.5)


Post New Thread Reply   
 
Thread Tools Display Modes
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-22-2007 , 09:16   Re: Creature Mod(Rebirth)
Reply With Quote #21

@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.
X-Script is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 09-22-2007 , 10:25   Re: Creature Mod(Rebirth)
Reply With Quote #22

Add a llama!!
__________________
M249-M4A1 is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-22-2007 , 10:26   Re: Creature Mod(Rebirth)
Reply With Quote #23

If you can find a llama skin for cstrike or czero I will indeed add a llama.
X-Script is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 09-22-2007 , 12:59   Re: Creature Mod(Rebirth)
Reply With Quote #24

Goomba? xD
__________________
Mod:
User:
BlackMilk is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-23-2007 , 09:48   Re: Creature Mod(Rebirth)
Reply With Quote #25

Quote:
Originally Posted by stylerro View Post
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 is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-23-2007 , 10:07   Re: Creature Mod (VERSION 1.5)
Reply With Quote #26

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.


X-Script is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-23-2007 , 10:12   Re: Creature Mod (VERSION 1.5)
Reply With Quote #27

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'.
__________________

Last edited by Arkshine; 09-23-2007 at 10:18.
Arkshine is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-23-2007 , 10:15   Re: Creature Mod (VERSION 1.5)
Reply With Quote #28

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.
X-Script is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-23-2007 , 10:26   Re: Creature Mod (VERSION 1.5)
Reply With Quote #29

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 ?!!
__________________
Arkshine is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 09-23-2007 , 10:35   Re: Creature Mod (VERSION 1.5)
Reply With Quote #30

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.
X-Script 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:05.


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