Raised This Month: $ Target: $400
 0% 

I could never get this :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-28-2005 , 13:39   I could never get this :(
Reply With Quote #1

This gives me a random tint, even when providing the arguments.

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("TintMod","Alpha 0.1","DahVid")     register_clcmd("amx_tint","tint_cmd") } public tint_cmd(id)     {     new player[33]     read_argv(1,player,32)     new target=cmd_target(id,player,9)             new mode[4],holdtime[4],red[4],green[4],blue[4],alpha[4]         read_argv(2,mode,4)     read_argv(3,holdtime,4)     read_argv(4,red,4)     read_argv(5,green,4)     read_argv(6,blue,4)     read_argv(7,alpha,4)     tint_user(id,mode,holdtime,red,green,blue,alpha) } public tint_user(id,mode,holdtime,red,green,blue,alpha)     {     if(is_user_alive(id) && is_user_connected(id)) {         message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},target)         write_short(25)         write_short(holdtime)         write_short(mode)         write_byte(red)         write_byte(green)         write_byte(blue)         write_byte(alpha)         message_end()     } }
pdoubleopdawg is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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