Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Thank you for your help Rectus ;)
Anyway do you mind if I add you to friends?
foreach(player, time in myTable)
{
printl("Player: " + player + " time: " + time)
}
And sorry if I had a lot of questions, I was just sad I could not find the help so long time ;)
myTable <- {}
myTable[<player_handle>] <- <time_spent_in_trigger>
If you really want a linked list, I'd recommend writing a class for it instead since Squirrel is object oriented and you can get a simpler interface out of it.
By the way this is how linked list looks like:
http://www.cs.usfca.edu/~srollins/courses/cs112-f08/web/notes/linkedlists/ll2.gif
I wish i could make examples for the functions, but it would be really time consuming.