Raised This Month: $51 Target: $400
 12% 

Need help, 2 plugins using same command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MadLuix
New Member
Join Date: Jul 2019
Old 07-05-2019 , 17:37   Need help, 2 plugins using same command
Reply With Quote #1

Hello, i'm using on my server Warmod BFG edition and the weapons & knives plugin, the problem is, both use the sm_knife command what makes impossible to change knife skin, so i tried to compile both plugins with a different command, but no success. Any way to solve this ?

sorry my terrible english
MadLuix is offline
Nexd
BANNED
Join Date: Dec 2013
Location: Hungary
Old 07-05-2019 , 17:50   Re: Need help, 2 plugins using same command
Reply With Quote #2

You can change the command in the .sp file, then compile it
Nexd is offline
MadLuix
New Member
Join Date: Jul 2019
Old 07-05-2019 , 17:57   Re: Need help, 2 plugins using same command
Reply With Quote #3

Quote:
Originally Posted by Nexd View Post
You can change the command in the .sp file, then compile it
Already tried on both plugins but i get too many errors when i compile.
MadLuix is offline
Nexd
BANNED
Join Date: Dec 2013
Location: Hungary
Old 07-05-2019 , 18:06   Re: Need help, 2 plugins using same command
Reply With Quote #4

What kind of errors?
Nexd is offline
MadLuix
New Member
Join Date: Jul 2019
Old 07-05-2019 , 18:08   Re: Need help, 2 plugins using same command
Reply With Quote #5

Quote:
Originally Posted by Nexd View Post
What kind of errors?
i put all .inc files, changed the command and got this error when compiling warmod

SourcePawn Compiler 1.9
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2017 AlliedModders LLC

plugin.sp(699) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(699) : error 072: "sizeof" operator is invalid on "function" symbols
plugin.sp(906) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1055) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1122) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1230) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1234) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1246) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1250) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1273) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1277) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1286) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1290) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1315) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(131 : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1319) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1339) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1342) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1343) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1376) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1385) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(138 : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1406) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1416) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1419) : error 017: undefined symbol "CHAT_PREFIX"
plugin.sp(1429) : error 017: undefined symbol "CHAT_PREFIX"

Compilation aborted.
26 Errors.
MadLuix is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 07-08-2019 , 10:19   Re: Need help, 2 plugins using same command
Reply With Quote #6

Feel free to send me a PM with your contact informations and I will help.
TomL. is offline
ScoobyDev77
Junior Member
Join Date: Jul 2020
Old 07-26-2020 , 21:59   Re: Need help, 2 plugins using same command
Reply With Quote #7

Quote:
Originally Posted by Nexd View Post
You can change the command in the .sp file, then compile it
Quote:
Originally Posted by MadLuix View Post
Hello, i'm using on my server Warmod BFG edition and the weapons & knives plugin, the problem is, both use the sm_knife command what makes impossible to change knife skin, so i tried to compile both plugins with a different command, but no success. Any way to solve this ?

sorry my terrible english

If you managed to compile the plugin by separating the !Knife send me the .smx and .sp

Last edited by ScoobyDev77; 07-26-2020 at 22:00.
ScoobyDev77 is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 11:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode