Number of arguments doesnt match definition..
#1

Hi, i have 34 warnings, "Number of arguments doesnt match definition"
This is example:
PaintBallArena[arenaid][pbFlagBlueID] = CreateObject(BLUE_FLAG_OBJ, PaintBallArena[arenaid][pbFlagBlueSpawn][0], PaintBallArena[arenaid][pbFlagBlueSpawn][1], PaintBallArena[arenaid][pbFlagBlueSpawn][2], 0.0, 0.0, 0.0, PaintBallArena[arenaid][pbVirtual], PaintBallArena[arenaid][pbInterior], -1);



Is there any way to fix automatic all these warnings?
And how to fix it manualy?
Thanks
Reply
#2

You're putting number of dynamic object function parameters in the normal function.
by simple words use streamer include & plugin and rename, CreateObject to -> CreateDynamicObject
Reply
#3

Thank youu
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)