Changing sprite color
I was trying to make such a plugin that when any user writes a command ie. "amx_power" it changes a certain sprites color for this user only.
So i checked another plugin and it was changing the sprites color like this: Code:
#include <amxmodx>How would you change this code to work the way that any user writes "amx_power" and it changes the sprite color for him only? |
Re: Changing sprite color
=> http://wiki.alliedmods.net/Half-Life_1_Game_Events
I don't see "Powerup" in the list of game events... |
Re: Changing sprite color
It is in a mod ESF, so i tested that code and it worked, it changed the sprite color to red.
However i would like to understand how can you make this to work the way i described, ie. i write "amx_power" into the console and it changes only my sprite color. Atm it affects every player on the server automatically.. |
| All times are GMT -4. The time now is 23:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.