Raised This Month: $ Target: $400
 0% 

Glow Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xjre
New Member
Join Date: May 2007
Old 05-17-2007 , 13:36   Re: Glow Event
Reply With Quote #3

Thanks for your answer!, but thatīs not what i was looking for I allready knew that native.

I was searching the list of cs events and i found this one:

http://wiki.amxmodx.org/index.php/Ha...vents#TeamInfo

The question is:


Supossing i save the id of c4 keeper in the variable "c_keep" . Then, i use this event teaminfo as a global event and to alive ("ae"). In the event public i put this:

new c_id = read_data(1); // get the user id
new c_tid = read_data(2); // get the team of player

Then I make this condition:

If(c_id != c_keep){

set_rendering(c_id, kRenderFxGlowShell, Team_glow[c_tid][0],Team_glow[c_tid][1], Team_glow[c_tid][2], kRenderNormal, 96) // where the variables team_glow are already defined

}
else if(c_id == c_keep){

set_rendering(c_id, kRenderFxGlowShell, c4_glow[c_tid][0],c4_glow[c_tid][1], c4_glow[c_tid][2], kRenderNormal, 96)

}


Will this work? If it does, it will works any time?. This last question is the really important. For example, if players gets c4 will glow of certain way and when he drop it will inmediately change his glow?

Thanks for your help!
Xjre 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 10:30.


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