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 [email protected] defined?
try
for([email protected]=0; [email protected] < getarraysize(.char_id); [email protected]++) { if (.char_id[[email protected]] == getcharid(0)) deletearray .char_id[[email protected]],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;