SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/01/2020, 03:37 AM   #1
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 204
Reputation: 1
Default weapon-config.inc HELP

Code:
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(1774) : warning 202: number of arguments does not match definition
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2217) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2304) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2420) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2492) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2681) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2710) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2719) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2741) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2836) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2904) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(2911) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3493) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3512) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3560) : error 017: undefined symbol "GetPlayerLastShotVectors"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3562) : error 017: undefined symbol "VectorSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3563) : error 017: undefined symbol "VectorSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3576) : error 017: undefined symbol "BULLET_HIT_TYPE_NONE"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3578) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3585) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3666) : error 017: undefined symbol "BULLET_HIT_TYPE_VEHICLE"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3687) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3735) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3788) : error 017: undefined symbol "BULLET_HIT_TYPE_VEHICLE"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(3934) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4010) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4039) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4261) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4268) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4384) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4391) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(4943) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(5302) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(5321) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(5520) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(5577) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\pawno\include\weapon-config.inc(5595) : error 017: undefined symbol "GetPlayerPoolSize"
D:\Data\SERVER\SATDMv12 - Copy\gamemodes\SATDMv12.pwn(3304) : warning 209: function "WC_OnGameModeInit" should return a value
D:\Data\SERVER\SATDMv12 - Copy\gamemodes\SATDMv12.pwn(13433) : warning 209: function "WC_OnGameModeExit" should return a value
D:\Data\SERVER\SATDMv12 - Copy\gamemodes\SATDMv12.pwn(17502) : warning 202: number of arguments does not match definition
D:\Data\SERVER\SATDMv12 - Copy\gamemodes\SATDMv12.pwn(17502) : warning 202: number of arguments does not match definition
D:\Data\SERVER\SATDMv12 - Copy\gamemodes\SATDMv12.pwn(19598) : warning 219: local variable "weapon" shadows a variable at a preceding level
Pawn compiler 3.10.4	 	 	Copyright (c) 1997-2006, ITB CompuPhase


22 Errors.
PHP Code:
#include <a_samp>
#include <sscanf2>
#include <a_mysql>
#include <zcmd>
#include <streamer>
#include <KZI>
#include <foreach>
#include <sampcac>
#include <SKY>
#include <weapon-config> 
How can i fix this?
Filbert is offline   Reply With Quote
Old 02/01/2020, 03:49 AM   #2
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 204
Reputation: 1
Default Re: weapon-config.inc HELP

I already have the dll plugin and the includes
Filbert is offline   Reply With Quote
Old 02/01/2020, 09:32 AM   #3
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 204
Reputation: 1
Default Re: weapon-config.inc HELP

Bump
Filbert is offline   Reply With Quote
Old 03/01/2020, 05:43 AM   #4
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 204
Reputation: 1
Default Re: weapon-config.inc HELP

bump
Filbert is offline   Reply With Quote
Old 03/01/2020, 05:46 AM   #5
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,893
Reputation: 1321
Default Re: weapon-config.inc HELP

Old SA-MP includes.
Pottus is offline   Reply With Quote
Old 03/01/2020, 05:58 AM   #6
Filbert
Huge Clucker
 
Join Date: May 2016
Posts: 204
Reputation: 1
Question Re: weapon-config.inc HELP

Quote:
Originally Posted by Pottus View Post
Old SA-MP includes.
I tried to search the latest includes that i use, but the topics and links are gone.
Where can i download the latest version?

EDIT : I just replaced the "a_...." includes and get no errors. But i still get these warnings :

Code:
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2217) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2420) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2492) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2681) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2710) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2741) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2836) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(2911) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(4039) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(4268) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(4391) : warning 234: function is deprecated (symbol "SendLastSyncData") Please use SendLastSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(4943) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\pawno\include\weapon-config.inc(5520) : warning 234: function is deprecated (symbol "FreezeSyncData") Please use FreezeSyncPacket instead
D:\Data\SERVER\SATDMv12 - Copy - Copy\gamemodes\SATDMv12.pwn(13422) : warning 209: function "WC_OnGameModeExit" should return a value
Pawn compiler 3.10.4	 	 	Copyright (c) 1997-2006, ITB CompuPhase


14 Warnings.
I can run the server, but how to fix the warnings?

Last edited by Filbert; 03/01/2020 at 07:02 AM.
Filbert is offline   Reply With Quote
Old 03/01/2020, 11:11 PM   #7
d3Pedro
Huge Clucker
 
Join Date: Apr 2012
Location: darkness
Posts: 295
Reputation: 91
Default Re: weapon-config.inc HELP

Code:
#include <a_samp>
#include <SKY>
#include <weapon-config> 
#include <sscanf2>
#include <a_mysql>
#include <zcmd>
#include <streamer>
#include <KZI>
#include <foreach>
#include <sampcac>
try this
d3Pedro is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weapon-config Admireal Scripting Help 1 01/09/2019 01:53 AM
[Ajuda] weapon-config Tiu_DaColombia Português/Portuguese 0 05/08/2019 05:53 PM
Need Help With Weapon-Config.inc travistaylor Scripting Help 0 13/08/2018 09:50 PM
weapon-config.inc crukk11 Scripting Help 24 20/05/2017 03:51 PM


All times are GMT. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.