02.03.2015, 01:03
Existe algum sistema de escudo que protege dos Danos? Eu vi em um server que protegia dos Danos, O que eu tenho aqui nгo protege.
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
if(hittype == BULLET_HIT_TYPE_OBJECT) // Detecta tiro ao objeto
{
if( IsValidObject( hitid ) ) // Ver se o objeto й vбlido.
SendClientMessage( playerid, -1, "Vocк acertou o objeto!" );
}
return true;
}
error 017: undefined symbol "BULLET_HIT_TYPE_OBJECT"