AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question? (https://forums.alliedmods.net/showthread.php?t=100385)

drakeris 08-14-2009 02:25

Question?
 
well i just want to ask how to do something like this:
when player gains level he gets E.G. gravity?

Arkshine 08-14-2009 02:38

Re: Question?
 
E.G. ?

drakeris 08-14-2009 03:37

Re: Question?
 
Quote:

Originally Posted by Arkshine (Post 899285)
E.G. ?

example (E.G.) Any other Questions?

Bad_Bud 08-14-2009 08:55

Re: Question?
 
Player gets gravity?

Well, you can relatively scale a player's gravity using set_pev(id,pev_gravity,<1.0=100% gravity>)

drakeris 08-16-2009 11:04

Re: Question?
 
Quote:

Originally Posted by Bad_Bud (Post 899546)
Player gets gravity?

Well, you can relatively scale a player's gravity using set_pev(id,pev_gravity,<1.0=100% gravity>)

i need that when he gets for example 6lvl he gets gravity about 0.6

Bad_Bud 08-16-2009 13:33

Re: Question?
 
Okay... so do what I said.

set_pev(id,pev_gravity,0.6)

drakeris 08-17-2009 01:27

Re: Question?
 
Quote:

Originally Posted by Bad_Bud (Post 902392)
Okay... so do what I said.

set_pev(id,pev_gravity,0.6)

i already know the code of how to set gravity but i need a command that when he reaches 6lvl
and how to that when i chose a class for example superhero i get a gun with only 2 bullets?

Bad_Bud 08-17-2009 02:18

Re: Question?
 
That's called writing the plugin, I'm afraid, and that's where you come in.

drakeris 08-17-2009 02:40

Re: Question?
 
ohhh that means this isnt scripting support website?

fysiks 08-17-2009 04:02

Re: Question?
 
Quote:

Originally Posted by drakeris (Post 903071)
ohhh that means this isnt scripting support website?

It is the Scripting Help forum. Here, we do not write plugins for you. You write plugins and you ask here for help when you can't figure something out on your own.

Your request is basically a shot in the dark considering you have given us no code to look at.


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

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