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

Natives + Forwards Suffering


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SkydiveX
Member
Join Date: Jul 2012
Location: England
Old 10-20-2012 , 10:51   Natives + Forwards Suffering
Reply With Quote #1

At the beginning I coded a wonderful mod but it has 800+ lines of code.

Thought about remaking it and spend 2 hours learning natives.

After some work I had finished the base code of it however I get this irritating error, no idea what it means.

Ive tried rewriting the function it errors at, still no success. Since there are 2 forwards in there i'm guessing that is the cause.

Spoiler


The thing is I have no idea what is causing it or what I am doing wrong :/. Seems a tad selfish but in this rare case I have to give out my source files for support.

Thanks in advance.
Attached Files
File Type: sp Get Plugin or Get Source (PowerupsXLBurn.sp - 152 views - 1.7 KB)
File Type: sp Get Plugin or Get Source (PowerupsXL.sp - 151 views - 3.9 KB)
File Type: inc PowerupsX.inc (4.1 KB, 143 views)
__________________

_____________________________________________ _______________
Pastafarian and proud!

Last edited by SkydiveX; 10-20-2012 at 10:53.
SkydiveX is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-20-2012 , 11:14   Re: Natives + Forwards Suffering
Reply With Quote #2

Since you put the code of AskPluginLoad2 in the include file it is included into both plugins and they both try to create the same native. You shouldn't put any SM forward callbacks into public inc file.

Move all the code starting from line 81 to PowerupsXL.sp.
__________________

Last edited by FaTony; 10-20-2012 at 11:16.
FaTony is offline
SkydiveX
Member
Join Date: Jul 2012
Location: England
Old 10-20-2012 , 11:41   Re: Natives + Forwards Suffering
Reply With Quote #3

Thanks, I Owe You My Infinite Gratitude. I Will Release This Wonderful Plugin In a Few Months.
__________________

_____________________________________________ _______________
Pastafarian and proud!
SkydiveX 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 16:36.


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