Raised This Month: $ Target: $400
 0% 

call function on death, once per map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SCHWEDEN
Member
Join Date: Dec 2007
Location: 127.0.0.1
Old 10-10-2010 , 16:43   Re: call function on death, once per map
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Not entirely sure what he means but it might be this:

PHP Code:
new bool:gVariable33 

public 
hook_DeathMsg() 

    new 
iVictim read_data(2); 
    if( !
gVariableiVictim ] ) 
    { 
         
functionHere(iVictim); 
         
gVariableiVictim ] = true 
    


Which method is the correct one?
__________________

SCHWEDEN is offline
Send a message via MSN to SCHWEDEN
 



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


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