Hello everyone!
I am currently working on a new script and decided to test the Countinarray and Inarray commands.
But for some reason, I get an error when I reach the part where it reads the countinarray command:
Line:
if (countinarray(.grbbid[0],getcharid(2)) == 1 && .grbbday[inarray(.grbbid,getcharid(2))] < 40){
Error in console:
[Warning]: Unexpected type for argument 2. Expected variable, got C_INT.
[Debug]: Data: number value=1
[Debug]: Function: countinarray
[Debug]: Source (NPC): Guild Manager at prontera (168,180)
[Error]: buildin_countinarray: not a variable
[Debug]: Data: variable name='.grbbid' index=0
[Debug]: Data: number value=1
[Debug]: Source (NPC): Guild Manager at prontera (168,180)
I downloaded rAthena from github yesterday and just compiled it with no errors.
Does anyone now what could it be?