Make player fly?
if(PlayerClassCT[id] == 2)
{ set_user_health(id, 1500) give_item(id, "weapon_knife") cs_set_user_model(id, "av_dragon") set_user_gravity(id, 0.80) set_user_rendering(id) } what should i add soo player can fly ? video *LINK* : http://img837.**************/img837/4755/lwt.mp4 |
Re: Make player fly?
Try this:
PHP Code:
|
Re: Make player fly?
set_user_gravity() doesn't really make him fly just jump higher or lower.
You'll have to set his movetype to FL_FLY in post or prethink, I think... And that will probably cause some really high cpu usage :/ |
Re: Make player fly?
PHP Code:
|
Re: Make player fly?
Quote:
Also, the float should be declared as static instead of new. |
Re: Make player fly?
Just thought of another thing...
Since this is for an experience mod you'd probably want to make this a comand only avaivable for that class. Cuz' you can't shoot straight when you're in the air and with this method you can accually never stop moving completly, and no matter what weapon you'll always have 250 as maxspeed. |
Re: Make player fly?
Mhm search amxx parachute plugin and make it landing gravity 0. Tested and works great. You can fly.
|
Re: Make player fly?
give the play noclip lol....
|
Re: Make player fly?
Quote:
|
| All times are GMT -4. The time now is 19:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.