[AJUDA] dar dinheiro
#2

PHP код:
//No Topo do Gamemode
//---------------------------------------------------------------------------//
#include <Dini>
//---------------------------------------------------------------------------//
//No OnplayerCommadText
if(strcmp("/grana"cmdtexttrue10) == 0)
{
if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1"Vocк nгo estб logado na RCON.");
GivePlayerMoney(playerid,100000);
return 
1;
}
//---------------------------------------------------------------------------//
//no OnPlayerConnect
if(dini_Isset("Dinheiro.ini",PlayerName(playerid))) GivePlayerMoney(playerid,dini_Int("Dinheiro.ini",PlayerName(playerid)));
//---------------------------------------------------------------------------//
// no OnplayerDisconnect
dini_IntSet("Dinheiro.ini",PlayerName(playerid),GetPlayerMoney(playerid));
//---------------------------------------------------------------------------//
// no Ongamemodeinit
if(!fexist("Dinheiro.ini")) dini_Create("Dinheiro.ini");
//---------------------------------------------------------------------------// 
Reply


Messages In This Thread
[AJUDA] dar dinheiro - by Welden - 09.03.2012, 12:23
Re: [AJUDA|CMD] dar dinheiro - by 4LiSs0N - 09.03.2012, 12:33
Re: [AJUDA|CMD] dar dinheiro - by Welden - 09.03.2012, 13:01
Re: [AJUDA|CMD] dar dinheiro - by rjjj - 09.03.2012, 13:03
Re: [AJUDA|CMD] dar dinheiro - by Welden - 09.03.2012, 13:14
Re: [AJUDA|CMD] dar dinheiro - by Felipe_Wesker - 09.03.2012, 14:38
Re: [AJUDA|CMD] dar dinheiro - by Đeagle - 09.03.2012, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)