7 errors one line
1 Attachment(s)
Well, I tryed to edit a plugin for the mod Hide and Seek, but I failed badly. Got 7 errors on one line and I cant figure out how on earth I did that. I would badly apreciate if you help me :3
|
Re: 7 errors one line
The errors tell you what is wrong.
Code:
compile.sma(1305) : error 088: number of arguments does not match definition1306: See 1305. 1307: See 1306. 1669: undefined symbol "gfFlashGrenadeNextUse" You should try to fix them one by one as the others on line 1669 are likely caused by the first (on that line). |
Re: 7 errors one line
Code:
case BM_FLASH: actionFlash(id);EDIT: I understand, but I do not know how to fix it. |
Re: 7 errors one line
you don't have enough parameters. Each function takes 2 params:
PHP Code:
PHP Code:
add: PHP Code:
Warning: Symbol is assigned a value that is never used: "fHeCooldown" on line 3912 Warning: Symbol is assigned a value that is never used: "fFlashCooldown" on line 3912 Warning: Symbol is assigned a value that is never used: "fFrostCooldown" on line 3912 |
Re: 7 errors one line
The actions still do not match definition.
Code:
case BM_FLASH: actionFlash(id);Code:
case BM_FLASH: actionFlash(id, Overridetimer); |
Re: 7 errors one line
You don't understand anything it seems.
I suggest you read the pawn tutorial if you want to learn how to script, if you don't want to learn, just post in suggestions/requests from now on. Now, on those stocks, you need to input a value... ofc it says it's undefined because it is undefined... just put 0 and be done with it, but you should read the stock and see what that argument does. |
Re: 7 errors one line
Thankyou. I had to put (id, 0) I just couldn't understand it. Thankyou very much!
|
Re: 7 errors one line
There are 6 examples right above that code to show you how that type of function us used in that situation. You will need to learn to look at how other parts of the code work to make your coding experience easier for you and a less cumbersome for us.
|
| All times are GMT -4. The time now is 19:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.