Raised This Month: $ Target: $400
 0% 

Using Multi-Dimensional Arrays with an ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Des12
Senior Member
Join Date: Jan 2005
Old 01-01-2006 , 15:40  
Reply With Quote #5

Thank you, but now, when someone dies, it will go to my death_msg function, and how do I check if that person that died was anyone's targetid (as in g_hitman[id] = targetid?

I think I am going to do something like

Code:
//in assigning hitman g_hitman[id] = targetid g_wanted[targetid] = 1

Code:
//when targetid dies if(g_wanted[id] == 1) //code to use g_hitman[id] = targetid, but i dont know how to retrieve //the id, because targetid takes over position of the id :/
__________________
-Dest Romano

www.JustRP.com
A TSRP Server

Quote:
Originally Posted by Brad
Don't you go be bringing reality into this.
Des12 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:51.


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