Raised This Month: $ Target: $400
 0% 

[FIX REQ] Bazooka plugin error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dare.Devil
Member
Join Date: May 2014
Old 08-16-2014 , 15:43   Re: [FIX REQ] Bazooka plugin error
Reply With Quote #5

Quote:
Originally Posted by NikKOo31 View Post
Read the code I posted -.- I added

PHP Code:
if (id || id >= sizeof user_control
    return 
FMRES_IGNORED 
It's not the better way, but will stop the index out of bounds
yes at first it didn't work and gave error & fails to compile.. says unknown symbol user_control..

Then I thought for some reason the amx studio wants another l in the word "control" so now in it's spelled "controll"

it looks like below now and compiled successfully

PHP Code:
if (id || id >= sizeof user_controll
    return 
FMRES_IGNORED 
thx nikko hope it works.. I've attached the full .sma file for u guys to have a look at if u want
Attached Files
File Type: sma Get Plugin or Get Source (bazooka_fixed.sma - 601 views - 58.2 KB)
Dare.Devil is offline
 



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 13:16.


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