AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   what am i doin wrong? (https://forums.alliedmods.net/showthread.php?t=77165)

SquR 09-06-2008 19:54

what am i doin wrong?
 
1 Attachment(s)
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

padilha007 09-06-2008 20:47

Re: what am i doin wrong?
 
1 Attachment(s)
revise your code and look for errors


All times are GMT -4. The time now is 03:08.

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