Somebody can give to me include file trainingskill.inc for snooping.
And that at me gives out an error at compile (Function TrainSkill: Parameter item was not passed, and there is no default)???
Snooping
Moderator: POL Developer
Re: Snooping
Somewhere there is a function called TrainSkill and it's built in this way:
So as the error says there is no item parameter in the function, so it should look like:
Code: Select all
Function Trainskill(parameter)
Code: Select all
Function Trainskill(item)
Re: Snooping
No Damien POL doesn't care what its named it just means one of the parameters is missing from the call to the function and in the definition, its named 'item'.
there is a function in that include thats possibly like this
and whatever script is calling it is just saying
There could be more parameters (the error isn't specific) but notice that the second one is missing the parameter. You have to pass a parameter to fill that 'item' variable. I don't have the code so I can't give you specific help on why the item is needed or what the item is that it wants.
there is a function in that include thats possibly like this
Code: Select all
Function TrainSkill(item)
Code: Select all
TrainSkill();
Re: Snooping
hehe okey ops: thanks for correcting me