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

Error i cant solve


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-21-2009 , 02:42   Error i cant solve
Reply With Quote #1

Code:
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(26) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(27) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(28) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(29) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(30) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(31) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(32) : error 100: function prototypes do not match
/home/groups/sourcemod/upload_tmp/phpIyFUCO.sp(33) : error 100: function prototypes do not match
My code is attatched
Attached Files
File Type: sp Get Plugin or Get Source (bonus2.sp - 106 views - 8.9 KB)
Doc-Holiday is offline
TESLA-X4
Senior Member
Join Date: Dec 2008
Location: $Recycle.Bin
Old 07-21-2009 , 03:09   Re: Error i cant solve
Reply With Quote #2

You used a timer callback format instead of the event callback format. (give me some time, I'll fix up the code and attach it to this post when I'm done)

Edit:
Done. I noticed one possible exploit: what happens if a CT keeps attempting to defuse the bomb (by hitting the use key repeatedly)?
Attached Files
File Type: sp Get Plugin or Get Source (bonus2.sp - 306 views - 9.7 KB)

Last edited by TESLA-X4; 07-21-2009 at 03:20.
TESLA-X4 is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-21-2009 , 03:14   Re: Error i cant solve
Reply With Quote #3

Quote:
Originally Posted by TESLA-X4 View Post
You used a timer callback format instead of the event callback format. (give me some time, I'll fix up the code and attach it to this post when I'm done)

thanks
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-21-2009 , 03:23   Re: Error i cant solve
Reply With Quote #4

I have a defatt = 0 set at player spawn

when he trys to defuse or they try to plant it adds it to 1.

With out it at 0 it wont work
Doc-Holiday is offline
TESLA-X4
Senior Member
Join Date: Dec 2008
Location: $Recycle.Bin
Old 07-21-2009 , 03:26   Re: Error i cant solve
Reply With Quote #5

Ah, I see, I must have missed it while fixing the incorrect code lol
TESLA-X4 is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-21-2009 , 03:27   Re: Error i cant solve
Reply With Quote #6

Quote:
Originally Posted by TESLA-X4 View Post
Ah, I see, I must have missed it while fixing the incorrect code lol
Now just need a tester to see if it actully all works
Doc-Holiday 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 09:35.


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