12.03.2015, 14:05
PHP код:
OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(beingspectated[playerid]) // change this according to your script
{
CreateDynamicPickup(1318, 0, fX, fY, fZ, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), Spectator[playerid]);
}
return 1;
}
//Change the variable 'Spectator' too according to your script.