Raised This Month: $ Target: $400
 0% 

Detect lasermine - incorrect code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
J4CK
Member
Join Date: Dec 2008
Location: India
Old 07-07-2012 , 13:41   Detect lasermine - incorrect code
Reply With Quote #1

how it's possible, detect deaths with lasermine.
Quote:
Player1 killed Player2 with lasermine
my code is not working anybody know why?

PHP Code:
register_event("DeathMsg""eDeath""a");

public 
eDeath()
{
     new 
szWeapon10 ];
     
read_data4szWeaponcharsmaxszWeapon ) );

     if( 
equalszWeapon"lasermine" ) )
     {
          new 
iKiller read_data(1);
          new 
iVictim read_data(2);

          
//blablabla

     
}

J4CK 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 15:02.


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