

Ajjwidjdneidjenw
-
Posts
161 -
Joined
-
Last visited
-
Days Won
2
Community Answers
-
Ajjwidjdneidjenw's post in Deleting char_id on an array was marked as the answer
Is .@size defined?
try
for(.@i=0; .@i < getarraysize(.char_id); .@i++) { if (.char_id[.@i] == getcharid(0)) deletearray .char_id[.@i],1; }
-
Ajjwidjdneidjenw's post in kick account id not working was marked as the answer
You're not ending the script after The initialization of array ".ID". meaning the script falls through to the next command where player attachment is required:
Essentially:
Change:
OnInit: setarray .ID,200001,200002; To
OnInit: setarray .ID,200001,200002; end;