Quote:
Originally Posted by GULTHEX
error: unexpected symbol "" at line 35: function onActionClientSide("",weaps,imgs)
okay i tried making it
("",weaps,imgs)
so i think the problem is that actionclientside isint a real function
|
I think the problem is in the error message.
Clearly just do:
PHP Code:
function onActionClientSide(unused,weaps,imgs)
{
if (params[0] == "openinv") OpenInventory(weaps, imgs);
}
Chompy, I'm astonished that you're avoiding the problem rather than fixing it. The problem is clearly in the error message.