27.01.2010, 19:54
Im trying to make a alarm sound, And i cant find a alarm sound, So im using blip sounds, But i want them to keep repeating,
How would i do that
How would i do that
Originally Posted by Torran
Wouldnt that lag the server if quite a few players?
|
dcmd_blip(playerid, params[])
{
#pragma unused params
#pragma unused playerid
for(new i; i<GetMaxPlayers(); i++) PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
SetTimer("Alarm", 1000, 1);
return 1;
}
Originally Posted by Torran
Alexis Bledel
|
forward Alarm();
public Alarm()
{
for(new i; i<GetMaxPlayers(); i++) PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
}