12.06.2016, 17:22
I think it must be like this:
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { if(weaponid == 24 && hittype == BULLET_HIT_TYPE_OBJECT) { if(hitid == TheDoorObject) { MoveObject(hitid, x,y,z,speed,rx,ry,rz); } } return 1; }