23.05.2014, 15:43
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if ( pickupid == HousePickup[h] )
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X,Y,Z);
PlayerPlaySound(playerid, 1139, X, Y, Z);
}
}
return 1;
}
Thanks for help.