Raised This Month: $ Target: $400
 0% 

Using Multi-Dimensional Arrays with an ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Des12
Senior Member
Join Date: Jan 2005
Old 12-31-2005 , 19:08   Using Multi-Dimensional Arrays with an ID
Reply With Quote #1

Ok, so I am scripting a hitman plugin, which bascially assigns someone a player to kill, and it stores there id and the target's id in one line.

So would something like this work?

Code:
//in the global declarations new g_hitman[33][33] //in the code g_hitman[id][targetid] //now the ID is assigned by the function, but how would I assign the targetid?

Do you guys understand this? Storing the player's id and his target's id in one multi-dimensional array?
__________________
-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
 


Thread Tools
Display Modes

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