AlliedModders

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

pdoubleopdawg 08-28-2005 02:50

Ammo..
 
This only edits the client-side, or sprite of the ammo.. Is there anyway else to edit, or am I doing something wrong?..
Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> public plugin_init()     {     register_event("CurWeapon", "CurWeapon_Event", "b") } public CurWeapon_Event(id)     {     message_begin(MSG_ONE,get_user_msgid("CurWeapon"),{0,0,0},id)         write_byte(2)         write_byte(1)         write_byte(50)         message_end() }

Xanimos 08-28-2005 02:51

What are you trying to acheive?

pdoubleopdawg 08-28-2005 02:55

Editting the amount of ammo a user has.. Although as soon as you change it and shoot, it goes back to what it's suppose to be.

Xanimos 08-28-2005 02:58

http://amxmodx.org/funcwiki.php?go=func&id=186


All times are GMT -4. The time now is 14:36.

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