invalid function or declaration
#1

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (HOLDING(KEY_CROUCH))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 213.8026,1876.0151,13.1406))
{
MoveObject(fronthqgate, 226.2012,1875.1792,13.8000, 2.00);
}
return 1;
}
if (RELEASED(KEY_CROUCH))
{
MoveObject(fronthqgate, 214.2012,1875.1792,13.8000, 2.00);
}
return 1;
}
if (HOLDING(KEY_SUBMISSION))
{
LinkVehicleToInterior(vehicleid, 1);
}
return 1;
}
if (RELEASED(KEY_SUBMISSION))
{
LinkVehicleToInterior(vehicleid, 0);
}
return 1;
}
i was copying the other 2 at the top (if (released)
yet it gives my errors
lol... wtf?

Код:
C:\Users\Braduz\Desktop\Server\gamemodes\tAxIFRB.pwn(5446) : error 010: invalid function or declaration
C:\Users\Braduz\Desktop\Server\gamemodes\tAxIFRB.pwn(5450) : error 010: invalid function or declaration
C:\Users\Braduz\Desktop\Server\gamemodes\tAxIFRB.pwn(5452) : error 010: invalid function or declaration
C:\Users\Braduz\Desktop\Server\gamemodes\tAxIFRB.pwn(5456) : error 010: invalid function or declaration
Reply


Messages In This Thread
invalid function or declaration - by braduz - 06.02.2010, 13:39
Re: invalid function or declaration - by bajskorv123 - 06.02.2010, 13:47
Re: invalid function or declaration - by braduz - 06.02.2010, 13:55
Re: invalid function or declaration - by braduz - 06.02.2010, 13:56
Re: invalid function or declaration - by bajskorv123 - 06.02.2010, 14:09
Re: invalid function or declaration - by braduz - 06.02.2010, 14:46

Forum Jump:


Users browsing this thread: 2 Guest(s)