Raised This Month: $ Target: $400
 0% 

Storing players in Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-17-2009 , 13:18   Re: Storing players in Array
Reply With Quote #4

new Float:array[33] // Yes 33. Ids are from 1 to 32. Yes float because hp are float.

Then to get it. pev(id, pev_health, array[id]) // yes heres id... They are 33 spec in the array. So to get it in another funccion just.

new Float:someonehp = array[id]

sorry mi english is very bad
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
 



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:52.


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