[AJUDA] SERVER
#10

pawn Код:
#define MAXPLAYERS 40 // topo Maximo Jogadores

new Grana[MAXPLAYERS]; // topo
forward DarGrana(playerid); // topo


//----------------------------------------------------------------------------//
public OnPlayerConnect(playerid)
{
Grana[playerid] = SetTimerEx("DarGrana", 60000, true, "i", playerid);
return 1;
}
//----------------------------------------------------------------------------//
public OnPlayerDisconnect(playerid, reason)
{
KillTimer( Grana[playerid] );
return 1;
}
//----------------------------------------------------------------------------//
public DarGrana(playerid)
{
GivePlayerMoney(playerid, 1000);
SendClientMessage(playerid, 0xFFFF00FF, "Parabйns! Voзк Recebeu R$ 1000 Reais");
return 1;
}
se tiver problemas e so rodar como Fs ehehe espero ter ajudado
By ApolloRJ
Reply


Messages In This Thread
[AJUDA] SERVER - by [PSN]Andre_Simpson - 08.11.2011, 18:26
Re: [AJUDA] SERVER - by Enderman - 08.11.2011, 18:38
Re: [AJUDA] SERVER - by Dolby - 08.11.2011, 18:41
Re: [AJUDA] SERVER - by ReDKiiL - 08.11.2011, 18:43
Re: [AJUDA] SERVER - by Dolby - 08.11.2011, 18:46
Re: [AJUDA] SERVER - by [PSN]Andre_Simpson - 08.11.2011, 19:03
Re: [AJUDA] SERVER - by Dolby - 08.11.2011, 19:08
Re: [AJUDA] SERVER - by [O.z]Caroline - 08.11.2011, 19:09
Re: [AJUDA] SERVER - by RebeloX - 08.11.2011, 20:07
Re: [AJUDA] SERVER - by ApolloRJ - 08.11.2011, 20:40

Forum Jump:


Users browsing this thread: 1 Guest(s)