I am trying to modify a plugin by adding a code (i don't know much about coding i just googled everything) right now i am stuck and can't understand what i am doing wrong. If anybody could help i'd appreciate it.[LIST=1]
PHP Code:
int iDefIndex = hParams.GetObjectVar(1, 20, ObjectValueType_Int);
{
if(iDefIndex == 4698)
{
iDefIndex = "Broken Fang ";
}
else
{
iDefIndex = "New Case or Rare Case"
}
}
error i get
PHP Code:
(142) : error 006: must be assigned to an array
(147) : error 006: must be assigned to an array