View Single Post
urban_ninja
Senior Member
Join Date: Feb 2009
Old 02-25-2012 , 00:57   Re: Module: BMOD - Extended Physics Module
Reply With Quote #44

I tested it out in Team Fortress Classic with its test script and hlds crashes instantly upon entering the command. No errors displayed in hlsw.

Tried compiling the test script sma locally and kept giving me argument type mismatch <argument 4> on line 37.
PHP Code:
bmod_object_add(entity,i%5,1.0,24.0,24.0,24.0
After looking in the inc argument 4 in bmod_object_add is suppose to be a float as an array of 3 so I tried this.
PHP Code:
new Float:num[3] = {24.024.024.0
And replace it in the bmod function as displayed in the inc

PHP Code:
bmod_object_add(entity,i%5,1.0,num[3]) 
Compiler error: array out of bounds.
So I thought I might of made a mistake making a float array so I looked in the amxx scripting tutorial basics to double check. Nope, the array is normal, yet compiler errors relating to argument 4 is endless. I've never had problems with making a basic array befor.

EDIT: Most importantly, Why did the script given test fine for you guys in Counter Strike but crashes Team Fortress Classic? It doesn't even reference any mod specific functions.
__________________

Last edited by urban_ninja; 02-25-2012 at 01:03.
urban_ninja is offline