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

BAH! :( Help please


Post New Thread Closed Thread   
 
Thread Tools Display Modes
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 12-31-2004 , 19:15   Re: ...
#11

Quote:
Originally Posted by BRUm
FFS ill never learn unless u fucking tell me!
yea... that's gonna make you learn



read the tutorials - http://forums.alliedmods.net/showthread.php?t=30191
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
imported_BRUm
Member
Join Date: Dec 2004
Location: Yorkshire - England
Old 12-31-2004 , 19:19   /.
#12

well... help usually does help someone learn...

Jesus christ! grumpy gits! can't you just bloody tell me! all i need is this bit of friggin help!

Thought forums were to help ppl

Its not to much that, its his blunt reply
Quote:
you have no idea how to program..
Stating the obvious.. thats why i came here for help...

Whats with u!!!?!?!?
__________________
~Fathers 4 Justice~

Clan server: esoftware.0ffice.info:27015
Clan website: www.esoftware.ukmodz.co.uk
imported_BRUm is offline
Send a message via MSN to imported_BRUm
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-31-2004 , 20:20  
#13

I'm sick of nubs that dont know anything about programming pretending they can code a hero.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
imported_BRUm
Member
Join Date: Dec 2004
Location: Yorkshire - England
Old 12-31-2004 , 20:43   omg
#14

omg.. wtf, i no im a fucking noob, and thats y im fucking here! i AM ASKING COS I DONT NO HOW! FFS MAN! please help me! the whole point ur here is to help ppl like me right?!

I finally go health regen working

This seem right for max hp 500 to work?

//jesus
jesus_level 0
jesus_healpoints 5 //The # of HP healed per second
jesus_knifespeed 290 //Speed of jesuseine in knife mode
jesus_knifemult 1.35 //Multiplier for knife damage
jesus_maxhealth 500
jesus_health 500
(CVARS)

(and registering them)
// DO NOT EDIT THIS FILE TO CHANGE CVARS, USE THE SHCONFIG.CFG
register_cvar("jesus_level", "0" )
register_cvar("jesus_healpoints", "5" )
register_cvar("jesus_knifespeed", "290")
register_cvar("jesus_knifemult", "1.35" )
register_cvar("jesus_maxhealth", "500" )

thanks, ok we got off on wrong foot, sry ok?
we need to calm it
__________________
~Fathers 4 Justice~

Clan server: esoftware.0ffice.info:27015
Clan website: www.esoftware.ukmodz.co.uk
imported_BRUm is offline
Send a message via MSN to imported_BRUm
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 12-31-2004 , 20:51  
#15

now u need to make 2 things.
1. A task that calls a function
2. A function that checks Jesus's health and if its less then 100 regen his health.

The task should call the function that i just described.
Freecode is offline
imported_BRUm
Member
Join Date: Dec 2004
Location: Yorkshire - England
Old 12-31-2004 , 20:53   D'oh
#16

lol just relised at last minute,

Quote:
register_cvar("jesus_maxhealth", "500" )
should be: register_cvar("jesus_health", "500" )

not maxhealth right? so tht wud declare his health at 500?


PS: is there a way of reloading the heros plugins without restarting the whole server?
__________________
~Fathers 4 Justice~

Clan server: esoftware.0ffice.info:27015
Clan website: www.esoftware.ukmodz.co.uk
imported_BRUm is offline
Send a message via MSN to imported_BRUm
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 12-31-2004 , 20:57  
#17

no in the function you would do something like this
Code:
if(get_user_health(id) < get_cvar_num("jesus_maxhealth")) {      set_user_health(id, get_user_health(id) + 5); }
Freecode is offline
imported_BRUm
Member
Join Date: Dec 2004
Location: Yorkshire - England
Old 12-31-2004 , 21:02   hmm
#18

wait.. i already have health regen! it works fine, all i need now is to sell jesus' health at 500 max

Also, i seem to get this

[AMX] Error raised (module "???") (function "???")
[AMX] Run time error 4 on line 119 (plugin "sh_Jesus.amx")

But it doesn't seem to effect it, and there wasn't a problem when i compiled it..

Shouldn't jesus auto get 500hp cos i stated Jesus_health 500 in the cvars in the shconfig too
__________________
~Fathers 4 Justice~

Clan server: esoftware.0ffice.info:27015
Clan website: www.esoftware.ukmodz.co.uk
imported_BRUm is offline
Send a message via MSN to imported_BRUm
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 12-31-2004 , 21:04  
#19

sell??
and whats line 119?
Freecode is offline
imported_BRUm
Member
Join Date: Dec 2004
Location: Yorkshire - England
Old 12-31-2004 , 21:07   .
#20

Err im using notepad, and 'goto' aint working!? how i find line 119?
__________________
~Fathers 4 Justice~

Clan server: esoftware.0ffice.info:27015
Clan website: www.esoftware.ukmodz.co.uk
imported_BRUm is offline
Send a message via MSN to imported_BRUm
Closed Thread



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 12:05.


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