Raised This Month: $ Target: $400
 0% 

How do you make a certain class have skills


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
31m0_owns
Member
Join Date: May 2008
Location: SLH, New Jersey-- U.S.A
Old 03-07-2009 , 10:46   How do you make a certain class have skills
Reply With Quote #1

I need help with this... Even though i am new at coding i have made a mod and all i need to do is make skills if anyone can help please do so
__________________
Project(s):
Prop-Hunt: 5%
Killcam: NEVER GOING TO HAPPEN!!!
31m0_owns is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-07-2009 , 11:02   Re: How do you make a certain class have skills
Reply With Quote #2

http://forums.alliedmods.net/showthr...&highlight=Mod
__________________

anakin_cstrike is offline
31m0_owns
Member
Join Date: May 2008
Location: SLH, New Jersey-- U.S.A
Old 03-07-2009 , 11:03   Re: How do you make a certain class have skills
Reply With Quote #3

I already did the xp mod... its just that i want to know how to make the class have skills other than letting ppl jsut get xp
__________________
Project(s):
Prop-Hunt: 5%
Killcam: NEVER GOING TO HAPPEN!!!
31m0_owns is offline
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 03-07-2009 , 13:33   Re: How do you make a certain class have skills
Reply With Quote #4

i think for class'es skillz -

PHP Code:
if (PlayerClass[id] == CLASS_NAME)
{
   new 
Float:speed get_user_maxspeed(id) + 85.0
   set_user_maxspeed
(id speed)  // SpeeD!
   
set_user_gravity(id0.5// Gravity
   
set_user_health(id250// Give user health

iNspiratioN is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-07-2009 , 16:24   Re: How do you make a certain class have skills
Reply With Quote #5

Quote:
Originally Posted by 31m0_owns View Post
I already did the xp mod... its just that i want to know how to make the class have skills other than letting ppl jsut get xp
Basically you just have to use different natives in some events to different kinds of classes depending the player's level. It's just a same you would ask how to learn scripting, there's a lot of tutorials for it.
SnoW is offline
Send a message via MSN to SnoW
31m0_owns
Member
Join Date: May 2008
Location: SLH, New Jersey-- U.S.A
Old 03-07-2009 , 19:27   Re: How do you make a certain class have skills
Reply With Quote #6

Thank you for that code Inspiration... I kinda wanted to make skills like Emp`'s pokemod somehting like that if you guys could help
__________________
Project(s):
Prop-Hunt: 5%
Killcam: NEVER GOING TO HAPPEN!!!
31m0_owns is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-08-2009 , 07:21   Re: How do you make a certain class have skills
Reply With Quote #7

Quote:
Originally Posted by 31m0_owns View Post
Thank you for that code Inspiration... I kinda wanted to make skills like Emp`'s pokemod somehting like that if you guys could help
Hmmm... Just wondering are you talking about my signature, cause there isn't any code in my post. Anyway, I know what you want. I meant that if you want to know how to make skills, you have to learn script, so -> Read all scripting tutorials & read incs, where you'll find some events & natives to do the skills.
SnoW is offline
Send a message via MSN to SnoW
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 08:51.


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