Raised This Month: $ Target: $400
 0% 

Trouble with Array Sizes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kronos
Junior Member
Join Date: Jan 2006
Old 04-15-2006 , 00:31   Trouble with Array Sizes
Reply With Quote #1

Code:
<snip>

The
Code:
dist = get_distance(cur_origin,pl_origins[players[i]])
line and the
Code:
get_user_origin(victim,pl_origins[victim],0)
lines are giving me trouble for array sizes. What can I do?

BTW: The plugin does this: on keydown if you are within a close vicinity to a corpse the corpse will turn into a zombie.
Kronos is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-15-2006 , 00:49  
Reply With Quote #2

where do you initiate pl_origin ?
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-15-2006 , 02:03  
Reply With Quote #3

your array should look like so:
Code:
new pl_origins[33][3]
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Kronos
Junior Member
Join Date: Jan 2006
Old 04-15-2006 , 02:24  
Reply With Quote #4

Quote:
Originally Posted by GHW_Chronic
your array should look like so:
Code:
new pl_origins[33][3]
Ah yes, excellent! Thank you very much!
Kronos is offline
Reply


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 05:13.


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