Bug de Dinheiro
#4

Ricop 522 ai ^^

Public onplayerdisconnect
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    {
    new
    string[64],
    name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    switch(reason)
    {
    case 0: format(string,sizeof string,"%s saiu . (Crash)",name);
    case 1: format(string,sizeof string,"%s saiu . (Saiu por vontade propria)",name);
    case 2: format(string,sizeof string,"%s saiu . (Kick/Ban)",name);
    }
    SendClientMessageToAll(0x0080FF96,string);
    return 1;
    }
    gActivePlayers[playerid]--;
    numplayers--;
    PlayerInfo[playerid][pAdjustable] = 1;
    PlayerInfo[playerid][pPos_x] = 1654.2203;
    PlayerInfo[playerid][pPos_y] = -1656.7523;
    PlayerInfo[playerid][pPos_z] = 22.5156;
    OnPlayerSave(playerid);
    Teste[playerid] = 0;
    TakingLesson[playerid] = 0;
    Acertos[playerid] = 0;
    CPorder[playerid] = 0;
em cima so tem o inicio da public nao sei se iso so basta mais no pastebin tem ela toda
Onplayerdisconnect TODA >> http://pastebin.com/AxhyzCCC

malz o duplo post mais pediram 2 publics e ficaria muita coisa ^^
Reply


Messages In This Thread
Bug de Dinheiro - by vinnyzin - 29.12.2010, 20:58
Re: Bug de Dinheiro - by Ricop522 - 29.12.2010, 21:35
Re: Bug de Dinheiro - by [Banido]HigorOliver - 29.12.2010, 21:43
Re: Bug de Dinheiro - by vinnyzin - 29.12.2010, 21:52
Re: Bug de Dinheiro - by vinnyzin - 29.12.2010, 21:55
Re: Bug de Dinheiro - by [Banido]HigorOliver - 29.12.2010, 22:03
Re: Bug de Dinheiro - by vinnyzin - 29.12.2010, 22:09
Re: Bug de Dinheiro - by vinewood - 30.12.2010, 08:48
Re: Bug de Dinheiro - by vinnyzin - 30.12.2010, 13:39
Re: Bug de Dinheiro - by gabriel_ - 30.12.2010, 15:03

Forum Jump:


Users browsing this thread: 2 Guest(s)