Raised This Month: $319 Target: $400
 79%   Almost there!

Solved Plugin won't compile


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Marqueritte
Junior Member
Join Date: Dec 2019
Location: Asia
Old 03-31-2020 , 03:00   Plugin won't compile
Reply With Quote #1

the plugin won't compile and I don't know how to fix this, any help?

Here's the error
/home/groups/sourcemod/upload_tmp/phpEUZCnX.sp(23) : error 181: function argument named 'vel' differs frm prototype
Attached Files
File Type: sp Get Plugin or Get Source (tf_bot_demoknight_support.sp - 33 views - 4.4 KB)

Last edited by Marqueritte; 03-31-2020 at 03:20.
Marqueritte is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 03-31-2020 , 03:08   Re: Plugin won't compile
Reply With Quote #2

Quote:
Originally Posted by Marqueritte View Post
the plugin won't compile and I don't know how to fix this, any help?

Here's the error
/home/groups/sourcemod/upload_tmp/phpEUZCnX.sp(23) : error 181: function argument named 'vel' differs frm prototype
change line 23 to public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3])
__________________
8guawong is offline
Marqueritte
Junior Member
Join Date: Dec 2019
Location: Asia
Old 03-31-2020 , 03:21   Re: Plugin won't compile
Reply With Quote #3

Quote:
Originally Posted by 8guawong View Post
change line 23 to public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3])
Alright, it worked! thanks dude!
Marqueritte is offline
Reply


Thread Tools
Display Modes

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 18:36.


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