compile error
//// speed admin.sp
// // speed admin.sp(33) : error 100: function prototypes do not match // speed admin.sp(35) : warning 217: loose indentation // speed admin.sp(74) : warning 217: loose indentation // speed admin.sp(80) : warning 217: loose indentation // speed admin.sp(89) : warning 217: loose indentation // speed admin.sp(114) : warning 217: loose indentation // // 1 Error. // // Compilation Time: 1,33 sec // ---------------------------------------- i fix it thx guys |
Re: compile error
Quote:
You must use functag public Action:ConCmd(client, args); header for your MedicCall callback. But you can notice, that MedicCall and AddCommandListener use different headers, so you must separate them. P.S.: As you nicely asked us for help, I nicely answered you and you are welcome :-) |
Re: compile error
voicemenu is a command I believe TF2 registers so I think you need to listen for the command instead of re-registering it.
Kisslick, the "function prototype doesn't match" error means the function signature doesn't match. A function's signature includes the return type as well as number of params + their types. |
Re: compile error
Quote:
|
Re: compile error
but i just want to make så only ppl with a adminflag can use it
|
Re: compile error
Quote:
|
Re: compile error
Quote:
else if(!CheckCommandAccess(client, "generic_admin", ADMFLAG_GENERIC, false)) dat work |
All times are GMT -4. The time now is 20:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.