Mám to takto , ale nedal som tu celý FilterScriptInit dôvod nemusím udávať..
#include
new brana;
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateObject(987, -656.70001220703, 963.09997558594, 11.10000038147, 0,0,88);
brana= CreateObject(968, -717.5, 950.40002441406, 12.10000038147, 0, 270, 90);
return 1;
}
#endif
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(newkeys & KEY_CROUCH)
{
MoveObject(brana,-717.5, 950.5, 12.10000038147,3);
}
}
return 1;
}