Raised This Month: $ Target: $400
 0% 

2 things.. Send a sprite message only to a team. and another thing!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nico_barrera
Junior Member
Join Date: Nov 2009
Location: PC
Old 09-14-2015 , 16:52   2 things.. Send a sprite message only to a team. and another thing!
Reply With Quote #1

Title! ...
this is my code for the sprite...

Code:
    message_begin(MSG_ALL,SVC_TEMPENTITY)
    write_byte(124)
    write_byte(id)
    write_coord(65)
    write_short(myspr)
    write_short(20)
    message_end();
i don't want to be visible for ct team, or tt team...
i had some ideas like:
Code:
    for(id=1 ; id<=maxplayers ; id++)
    {
      if(userteam == 1)
            sprite_code(id,team)
and modify the code so it's send to only one player..
i don't know if that is possible at all!
also... how i increase/decrease the duration of the sprite?!


and the other part is in the attached image, that snapshot it's from a mod called "Trouble in terrorist town"... i check the mod but it has aprox.. 20 plugins to work and i wasn't able to find where is that part of code... ty!

PS: in ttt uses the sprite thing that i need, i mean.. they put a sprite above te players that are traitors, and only traitors are able to see it! so... probably the answer of my post is in the sma's of ttt.. sadly i can't find it!..

ty for reading and sorry 4 the english mistakes! i didn't realize that is more easy to talk english that write english!
Attached Images
File Type: jpg asdasd.jpg (24.1 KB, 298 views)
nico_barrera is offline
Send a message via MSN to nico_barrera
 



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 22:14.


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