[Tutorial] [TUT]Pagamento
#1

Й bem simples:

//=== No Topo ===

pawn Код:
forward nomedefinido(); // Definindo a callback
//=== no On‌GameModeInit ===

pawn Код:
SetTimer("nomedefinido",900000, true); // Tempo para Receber
//=== Crie uma nova Public ===

pawn Код:
public nomedefinido() // Callback Definida no topo do GM(forward define uma callback)
{
for(new i=0; i<=MAX_PLAYERS; i++) GivePlayerMoney(i, 10000); // Quantidade de Grana
SendClientMessageToAll(Cor_Branco, "Parabйns! voce recebeu $ 10000 por jogar aqui"); // Messagem
}
return 1;
{
================================
Fiiim'й isso ai vlww!

********~~~> By Zimmer, Simplificado By Euuuu' Luan <~~~********
Reply


Messages In This Thread
[TUT]Pagamento - by luandriftlogkdr - 27.03.2010, 15:41
Re: [TUT]Pagamento - by andmeida10 - 27.03.2010, 16:08
Re: [TUT]Pagamento - by 147rafa147 - 27.03.2010, 16:20
Re: [TUT]Pagamento - by ashiuashiu - 27.03.2010, 16:22
Re: [TUT]Pagamento - by luandriftlogkdr - 27.03.2010, 16:22
Re: [TUT]Pagamento - by Ambrуsio - 27.03.2010, 20:26
Re: [TUT]Pagamento - by Guilherme_Canani - 27.03.2010, 21:41

Forum Jump:


Users browsing this thread: 1 Guest(s)