Compile Errors
#1

Im trying to compile The scavenge and survive gamemode.
im having this issue


Код:
 error 025: function heading differs from prototype
the line with the error is:
Код:
public Streamer_OnPluginError(const error[])
any ideas?
Reply
#2

You use that callback ?
Reply
#3

yes.
Reply
#4

Which version of streamer are you using?
Try removing const and make it
PHP код:
public Streamer_OnPluginError(error[]) 
Reply
#5

thanks it helped me alot!
Reply
#6

Now it got compile but now when i start gamemode im having these errors



Код:
[03:52:36]   Loading filterscript 'rcon.amx'...
[03:52:36]   Loading filterscript 'object-loader.amx'...
[03:52:37]    Error: Function not registered: 'SSCANF_Init'
[03:52:37]    Error: Function not registered: 'SSCANF_IsConnected'
[03:52:37]    Error: Function not registered: 'SSCANF_Join'
[03:52:37]    Error: Function not registered: 'SSCANF_Leave'
[03:52:37]    Error: Function not registered: 'sscanf'
[03:52:37]    Error: Function not registered: 'CreateDynamicObject'
[03:52:37]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[03:52:37]    Error: Function not registered: 'SetDynamicObjectMaterial'
[03:52:37] INFO: [Init] Debug Level: 0
[03:52:37] INFO: [Init] 0 Total objects
[03:52:37] INFO: [Init] 0 Objects to remove
[03:52:37]   Loading filterscript 'fly.amx'...
[03:52:38]   Loaded 3 filterscripts.

[03:52:39]    Error: Function not registered: 'SSCANF_Init'
[03:52:39]    Error: Function not registered: 'SSCANF_IsConnected'
[03:52:39]    Error: Function not registered: 'SSCANF_Join'
[03:52:39]    Error: Function not registered: 'SSCANF_Leave'
[03:52:39]    Error: Function not registered: 'IsValidDynamicArea'
[03:52:39]    Error: Function not registered: 'CreateDynamicSphere'
[03:52:39]    Error: Function not registered: 'DestroyDynamicArea'
[03:52:39]    Error: Function not registered: 'AttachDynamicAreaToPlayer'
[03:52:39]    Error: Function not registered: 'IsPlayerInDynamicArea'
[03:52:39]    Error: Function not registered: 'CreateDynamic3DTextLabelEx'
[03:52:39]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[03:52:39]    Error: Function not registered: 'Streamer_AppendArrayData'
[03:52:39]    Error: Function not registered: 'Streamer_RemoveArrayData'
[03:52:39]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[03:52:39]    Error: Function not registered: 'Streamer_SetFloatData'
[03:52:39]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[03:52:39]    Error: Function not registered: 'Streamer_SetArrayData'
[03:52:39]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[03:52:39]    Error: Function not registered: 'Streamer_SetIntData'
[03:52:39]    Error: Function not registered: 'IsPlayerInAnyDynamicArea'
[03:52:39]    Error: Function not registered: 'Streamer_UpdateEx'
[03:52:39]    Error: Function not registered: 'Streamer_GetArrayData'
[03:52:39]    Error: Function not registered: 'CreateDynamicObject'
[03:52:39]    Error: Function not registered: 'MoveDynamicObject'
[03:52:39]    Error: Function not registered: 'DestroyDynamicObject'
[03:52:39]    Error: Function not registered: 'SetDynamicObjectPos'
[03:52:39]    Error: Function not registered: 'SetDynamicObjectRot'
[03:52:39]    Error: Function not registered: 'Streamer_GetNearbyItems'
[03:52:39]    Error: Function not registered: 'SetDynamicObjectMaterial'
[03:52:39]    Error: Function not registered: 'Streamer_Update'
[03:52:39]    Error: Function not registered: 'IsValidDynamicObject'
[03:52:39]    Error: Function not registered: 'CreateDynamicCircle'
[03:52:39]    Error: Function not registered: 'sscanf'
[03:52:39]    Error: Function not registered: 'IsPointInDynamicArea'
[03:52:39]    Error: Function not registered: 'Redis_BindMessage'
[03:52:39]    Error: Function not registered: 'Redis_SetHashValue'
[03:52:39]    Error: Function not registered: 'Redis_SendMessage'
[03:52:39]    Error: Function not registered: 'Redis_Exists'
[03:52:39]    Error: Function not registered: 'Redis_GetHashValue'
[03:52:39]    Error: Function not registered: 'Redis_GetString'
[03:52:39]    Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[03:52:39]    Error: Function not registered: 'GetDynamicObjectPos'
[03:52:39]    Error: Function not registered: 'GetDynamicObjectRot'
[03:52:39]    Error: Function not registered: 'AttachDynamicAreaToVehicle'
[03:52:39]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[03:52:39]    Error: Function not registered: 'WP_Hash'
[03:52:39]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[03:52:39]    Error: Function not registered: 'Redis_GetInt'
[03:52:39]    Error: Function not registered: 'CreateDynamicPolygon'
[03:52:39]    Error: Function not registered: 'Streamer_IsInArrayData'
[03:52:39]    Error: Function not registered: 'CreateDynamicCube'
[03:52:39]    Error: Function not registered: 'CountDynamicObjects'
[03:52:39]    Error: Function not registered: 'Streamer_GetIntData'
[03:52:39]    Error: Function not registered: 'Streamer_ToggleErrorCallback'
[03:52:39]    Error: Function not registered: 'Redis_Connect'
[03:52:39] [debug] Run time error 19: "File or function is not found"
[03:52:39] [debug]  Redis_BindMessage
[03:52:39] [debug]  Redis_SetHashValue
[03:52:39] [debug]  Redis_SendMessage
[03:52:39] [debug]  Redis_Exists
[03:52:39] [debug]  Redis_GetHashValue
[03:52:39] [debug]  Redis_GetString
[03:52:39] [debug]  Redis_GetInt
[03:52:39] [debug]  Redis_Connect
[03:52:39] [debug] Run time error 19: "File or function is not found"
[03:52:39] [debug]  Redis_BindMessage
[03:52:39] [debug]  Redis_SetHashValue
[03:52:39] [debug]  Redis_SendMessage
[03:52:39] [debug]  Redis_Exists
[03:52:39] [debug]  Redis_GetHashValue
[03:52:39] [debug]  Redis_GetString
[03:52:39] [debug]  Redis_GetInt
[03:52:39] [debug]  Redis_Connect
[03:52:40] Script[gamemodes/ScavengeSurvive.amx]: Run time error 19: "File or function is not found"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)