29.12.2012, 15:20
pawn Код:
forward StopTheMusic(playerid);
public StopTheMusic(playerid) StopAudioStreamForPlayer(playerid);
forward Timer(playerid);
public Timer(playerid)
{
PlayAudioStreamForPlayer(playerid, /* link d amusica */);
SetTimerEx("StopTheMusic", 3000, 0, "i", playerid);//StopThe Music Public a ser chamada 3000 3 segundos em milessegundos
Respeito[playerid]++;SendClientMessage(playerid,COR_LEVEL,"Parabens Aumentou seu Respeito Mais um Pouco Aumenta o Level");
if(Respeito[playerid] == 5)
{
Level[playerid]++;
SendClientMessage(playerid,COR_LEVEL,"**** Parabens Upou Seu Level ****");
Respeito[playerid] = 0;
}
return 1;
}
stock PlayerName(playerid)
{
new PlayerNameLevel[MAX_PLAYERS];
GetPlayerName(playerid, PlayerNameLevel, MAX_PLAYERS);
return PlayerNameLevel;
}