AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Easy/not toooo hard! (https://forums.alliedmods.net/showthread.php?t=75074)

KingCommentor 07-30-2008 01:49

Easy/not toooo hard!
 
Ok I am a begginner scripter, looking to start small to learn everything before I begin anything "BIG"
So I've wrote a plugin to set a user's gravity by saying a command.. lala but I'm wanting to write more like this.
What are some .. kinda easy things I can set on a user with my minimal experience in a plugin ? Something similar to gravity .. like unlimited ammo/speed .. etc, Got any ideas?

----
Also where can I find things like these? The commands for setting unlimited ammo/speed .. etc any of the ideas you guys give me ?

{PHILMAGROIN} 07-30-2008 02:02

Re: Easy/not toooo hard!
 
Invisibility, glow?

and this is a very good resource.
http://www.amxmodx.org/funcwiki.php

hzqst 07-30-2008 02:39

Re: Easy/not toooo hard!
 
unlimited ammo:
new clip,ammo,wep=get_user_weapon(id,clip,ammo)
cs_set_user_bpammo(id,wep,999)
speed:set_user_maxspeed(id,9999.0)
you can find them here:
http://www.amxmodx.org/doc/index.htm..._rendering.htm

PvtSmithFSSF 07-30-2008 09:42

Re: Easy/not toooo hard!
 
speed is more difficult than that, hzgst. Speed resets on weapon switch unfortunately. You have to hook curweapon i believe

try making a menu. Look at Emp`s tutorial about the new amxx menu system. 2nd page of Code Snippets/Tutorials.


All times are GMT -4. The time now is 05:37.

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