Home
Forum
Rules
Search
Login
Register
December 23, 2024, 07:21:10 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Soldat Capture The Flag League
is probably the most famous competitive community of all times. It ran over 60 seasons of different leagues and tournaments!
Official Soldat Forums
Server Talk
Scripting Discussions and Help
(Moderators:
chrisgbk
,
Bonecrusher
)
[Solved]How to destroy the contents of an array?
« previous
next »
Pages: [
1
]
Author
Topic: [Solved]How to destroy the contents of an array? (Read 872 times)
0 Members and 1 Guest are viewing this topic.
frosty
Flagrunner
Posts: 601
Uber Desert Eagle ^^
[Solved]How to destroy the contents of an array?
«
on:
August 12, 2011, 07:35:36 pm »
title says it all, im facing bugs on map change cuz i dont know how to clear my items array
what would be one of the methods to do this?
«
Last Edit: August 16, 2011, 01:25:14 am by frosty
»
Logged
check out my server! click here
If at first you don't succeed, Improvise!
dnmr
Camper
Posts: 315
emotionally handicapped
Re: How to destroy the contents of an array?
«
Reply #1 on:
August 13, 2011, 04:29:54 am »
for i := arrmin to arrmax do array
:= null ?
Logged
frosty
Flagrunner
Posts: 601
Uber Desert Eagle ^^
Re: How to destroy the contents of an array?
«
Reply #2 on:
August 16, 2011, 01:24:33 am »
Doh! tx dnmr
somehow i overlooked doing that
Logged
check out my server! click here
If at first you don't succeed, Improvise!
tk
Soldier
Posts: 235
Re: [Solved]How to destroy the contents of an array?
«
Reply #3 on:
August 16, 2011, 02:22:25 am »
If it's a dynamic array just do
array := [];
Logged
Last Stand, Multi Mode, Tactical Trenchwar
#soldat.eat-this!
@ Quakenet
frosty
Flagrunner
Posts: 601
Uber Desert Eagle ^^
Re: [Solved]How to destroy the contents of an array?
«
Reply #4 on:
August 19, 2011, 10:29:56 pm »
tx tk that makes it even easier
Logged
check out my server! click here
If at first you don't succeed, Improvise!
Pages: [
1
]
« previous
next »
Official Soldat Forums
Server Talk
Scripting Discussions and Help
(Moderators:
chrisgbk
,
Bonecrusher
)
[Solved]How to destroy the contents of an array?