Merging Filterscripts with GM
#1

Hello, I've tried Merging my script with a filterscript, by putting the filterscript in pawno and using..
#include <../bbrp/example.pwn> in script.
Now it gives me errors like:

Код:
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(925) : error 021: symbol already defined: "S@@_OnPlayerSpawn"
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(1005) : error 021: symbol already defined: "S@@_OnDialogResponse"
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(1580) : error 021: symbol already defined: "S@@_OnPlayerStateChange"
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(1720) : error 021: symbol already defined: "S@@_OnPlayerDeath"
and:

Код:
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(818) : error 021: symbol already defined: "Itter_OnPlayerConnect"
C:\Users\USER\Desktop\Server\gamemodes\SAU-RP.pwn(857) : error 021: symbol already defined: "Itter_OnPlayerDisconnect"
How can i fix this?
Reply
#2

Delete this symboles, You already have them in the GameMode.
Reply
#3

Are you including a pwn file, with callbacks in it without hooking?
If so, then the problem is you can't use the same callback twice or more in the same script
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)