Raised This Month: $ Target: $400
 0% 

what am i doin wrong?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SquR
New Member
Join Date: Feb 2007
Old 09-06-2008 , 19:54   what am i doin wrong?
Reply With Quote #1

Hey, im tryin to get a block more in bcm4, until ive done the right and i can see the block in bcm menu on server, but then i saw a place where the other block also was (in sma)
case OBJECT_DUCKBLOCK:
{
set_pev(plr, pev_bInDuck, 1);
}
case OBJECT_SPEEDBLOCK:
{
velocity_by_aim(plr, 1200, gSetVelocity[plr]);
gSetVelocity[plr][2] = 0.0;
}
case OBJECT_SLOWBLOCK:
{
if( get_gametime() - gSlowedTime[plr] < 3.0
&& gEntSlowed[plr] == ent )
{
set_pev(plr, pev_maxspeed, 75.0);
}
case OBJECT_PALMBLOCK:
{
}

then i saved .sma, when i tryed compile it said:
////bcm4.sma
//c:programmer\valve\hlserver\cstrike\addons\am xmodx\scripting\bcm4.sma <980> : warning 217: loose indentitation


and i keep saying errors like that in line 980, i will post my sma, i hope anyone can see what im doin wrong
Attached Files
File Type: sma Get Plugin or Get Source (bcm4.sma - 617 views - 40.1 KB)
SquR is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 09-06-2008 , 20:47   Re: what am i doin wrong?
Reply With Quote #2

revise your code and look for errors
Attached Files
File Type: sma Get Plugin or Get Source (bcm4.sma - 590 views - 40.0 KB)
padilha007 is offline
Reply



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 03:08.


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