12.03.2012, 14:47
Quote:
Код:
include <audio> public OnGameModeInit() { Audio_SetPack("default_pack"); return 1; } public OnPlayerConnect(playerid) { Audio_Play(playerid, 1); return 1; } public OnPlayerSpawn(playerid) { Audio_Stop(playerid, 1); return 1; } |
pawn Код:
#include <audio>
public OnGameModeInit()
{
Audio_SetPack("default_pack");
return 1;
}
public OnPlayerConnect(playerid)
{
Audio_Play(playerid, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
Audio_Stop(playerid, 1);
return 1;