Raised This Month: $ Target: $400
 0% 

Traceline help-.-'


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 09-08-2007 , 12:00   Traceline help-.-'
Reply With Quote #1

Traceline this dont work enyone know why?
want players whit same numbers unable to hit each other.
so same number count as miss dont wanna use add hp or enything like that.
gonna use this in my plugin so +karma if you help me =)

PHP Code:
public traceline(Float:v1[3], Float:v2[3], noMonsterspentToSkip){
 new 
iAttacker pentToSkip;
 new 
iVictim get_tr(TR_pHit);
 
 if (
iVictim >= && iVictim <= g_MaxPlayers && iAttacker >= && iAttacker <= g_MaxPlayers){
  if (
PlayersTeam[iVictim] == PlayersTeam[iVictim]){
   
set_tr(TR_flFraction1.0);
   return 
FMRES_SUPERCEDE;
  }
 } 
 return 
FMRES_IGNORED;

__________________
If one of my plugins become broken, contact me by mail. [email protected]

Last edited by fxfighter; 09-08-2007 at 12:02.
fxfighter is offline
Send a message via MSN to fxfighter
 



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 16:08.


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