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

VSH2: OnPlayerRunCmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sajt
Member
Join Date: Apr 2023
Old 10-23-2023 , 12:19   VSH2: OnPlayerRunCmd
Reply With Quote #1

Hello! I'm trying to make a plugin so that when the sniper's secondary in the Cleaner's Carbine is charged, it fires a rocket and always gives the same error.

Error:
plugin.sp(16) : error 181: function argument named 'buttons' differs from prototype
plugin.sp(16) : error 181: function argument named 'impulse' differs from prototype
plugin.sp(16) : error 181: function argument named 'num_buttons' differs from prototype
plugin.sp(16) : fatal error 190: too many error messages on one line

How can I fix this?
Attached Files
File Type: sp Get Plugin or Get Source (vsh2_cleaner_carabine.sp - 29 views - 2.0 KB)

Last edited by Sajt; 10-23-2023 at 12:33.
Sajt 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 22:18.


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