Compile Errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compile Errors (
/showthread.php?tid=643639)
Compile Errors -
elhanan - 24.10.2017
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?
Re: Compile Errors -
Danisoni - 24.10.2017
You use that callback ?
Re: Compile Errors -
elhanan - 24.10.2017
yes.
Re: Compile Errors -
Zeth - 24.10.2017
Which version of streamer are you using?
Try removing const and make it
PHP код:
public Streamer_OnPluginError(error[])
Re: Compile Errors -
elhanan - 24.10.2017
thanks it helped me alot!
Re: Compile Errors -
elhanan - 24.10.2017
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"