16.01.2014, 16:48
Quote:
Thank you so much!
![]() Also, can i use something like pawn Код:
|
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
if( hittype == BULLET_HIT_TYPE_OBJECT )
{
if( IsValidObject( hitid ) && hitid == OBJECT_ID )
{
SendClientMessage( playerid, -1, "You shot an object and it was destroyed !" );
DestroyObject( hitid );
}
}
return 1;
}