AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do you make a certain class have skills (https://forums.alliedmods.net/showthread.php?t=87136)

31m0_owns 03-07-2009 10:46

How do you make a certain class have skills
 
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

anakin_cstrike 03-07-2009 11:02

Re: How do you make a certain class have skills
 
http://forums.alliedmods.net/showthr...&highlight=Mod

31m0_owns 03-07-2009 11:03

Re: How do you make a certain class have skills
 
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

iNspiratioN 03-07-2009 13:33

Re: How do you make a certain class have skills
 
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



SnoW 03-07-2009 16:24

Re: How do you make a certain class have skills
 
Quote:

Originally Posted by 31m0_owns (Post 775778)
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.

31m0_owns 03-07-2009 19:27

Re: How do you make a certain class have skills
 
Thank you for that code Inspiration... I kinda wanted to make skills like Emp`'s pokemod somehting like that if you guys could help

SnoW 03-08-2009 07:21

Re: How do you make a certain class have skills
 
Quote:

Originally Posted by 31m0_owns (Post 776120)
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.


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

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