[PEDIDO]Sistema para aumentar score - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [PEDIDO]Sistema para aumentar score (
/showthread.php?tid=346932)
[PEDIDO]Sistema para aumentar score -
EduardoRFS - 30.05.2012
Sistema para aumentar score a cada 4 horas.
Re: [PEDIDO]Sistema para aumentar score -
Don_Speed - 30.05.2012
SetTimer
Re: [PEDIDO]Sistema para aumentar score -
blacktrindade - 30.05.2012
Quote:
Originally Posted by EduardoRFS
Sistema para aumentar score a cada 4 horas.
|
https://sampforum.blast.hk/showthread.php?tid=270290
#edit no Lugar de 1200000 coloque: 14400000 = 4 Horas
Re: [PEDIDO]Sistema para aumentar score -
leonardo1434 - 30.05.2012
pawn Код:
SetTimer("aumentarscore",240000*4,true); // coloque na public ongamemodeinit
// final do gm
forward aumentarscore(playerid);
public aumentarscore(playerid)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
SetPlayerScore(playerid, GetPlayerScore(playerid + 1);
GameTextForAll("~g~SCORE PRA TODO MUNDO !!!",5000,6); // vai mostrar o texto...
}
}