warning 202: number of arguments does not match definition
#1

Help please!
Quote:

warning 202: number of arguments does not match definition

Line:
pawn Код:
#if defined CreateDynamicObject
Piece of code:
pawn Код:
#if defined CreateDynamicObject //(line with error)
                creo = CreateDynamicObject( oid, start[0], start[1], start[2], ang[0] + arx, ang[1] + ary, ang[2] + 180 + arz, worldid, interiorid, playerid, StreamDistance, DrawDistance);
            #else
                #pragma unused worldid, interiorid, playerid, StreamDistance
            #endif
Reply
#2

Check this maybe you forget an argument
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 0); 
Reply
#3

Nope :/ the error is in "#if defined CreateDynamicObject" and not at the CreateDynamic line
Reply
#4

ah ok so change the #if defined CreateDynamicObject to #if defined CRETAEDYNAMICOBJECT
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)