Play oGame - Jocul nu e o crima!!


http://www.000webhost.com/748893.htmu
ubook.web44.net/

Alăturați-vă forumului, este rapid și ușor

Play oGame - Jocul nu e o crima!!


http://www.000webhost.com/748893.htmu
ubook.web44.net/

Play oGame - Jocul nu e o crima!!

Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.
Play oGame - Jocul nu e o crima!!

    [SA-MP]Enter and leave message

    ChAoS|ReDdY
    ChAoS|ReDdY
    Asistent


    Sex : masculin
    Mesaje Mesaje : 209
    Banuti Banuti : 417
    Reputatie Reputatie : 1
    Data de inscriere Data de inscriere : 18/02/2012
    Varsta Varsta : 25
    Stare de spirit Stare de spirit : Fucking Motherfuckers :))

     [SA-MP]Enter and leave message Empty [SA-MP]Enter and leave message

    Mesaj Scris de ChAoS|ReDdY Mier Feb 29, 2012 9:43 am

    Acest plugin arata un mesaj cand un player intra sau iese de pe server
    ... pentru inceput va dau codurile pawno in caz ca vreti sa modificati
    mesajul..
    Pentru enter :
    Cod:
    public OnPlayerConnect(playerid)
    {
        new pName[30], string[256];
        GetPlayerName(playerid, pName, 30);
        format(string, 256, "%s has joined the server.", pName);
        SendClientMessageToAll(COLOR_GREY,string);
        return 1;
    }
    si pentru exit
    Cod:
    public OnPlayerDisconnect(playerid, reason)
    {
        switch(reason)
        {
            case 0:
            {
                new pName[30], string[256];
                GetPlayerName(playerid, pName, 30);
                format(string, 256, "%s has left the server.(Timeout)", pName);
                SendClientMessageToAll(COLOR_GREY, string);
            }
            case 1:
            {
                new pName[30], string[256];
                GetPlayerName(playerid, pName, 30);
                format(string, 256, "%s has left the server.(Leaving)", pName);
                SendClientMessageToAll(COLOR_GREY, string);
            }
            case 2:
            {
                new pName[30], string[256];
                GetPlayerName(playerid, pName, 30);
                format(string, 256, "%s has left the server.(Kicked)", pName);
                SendClientMessageToAll(COLOR_GREY, string);
            }
        }
        return 1;
    }
    Ca sa le compilati intrati in Pawno,stergeti tot
    din new project si dati paste la aceste coduri,apoi apasati f5.Se vor
    salva in directorul pawno 2 fisiere...unul.amx si unul.pwn sa zicem
    enter.pwn enter.amx exit.pwn si exit.amx.Aceste fisiere le puneti in
    directorul cu serverul in folderul filterscripts.Apoi deschideti
    server.cfg si la linia:
    Cod:
    filterscripts
    adaugati doar numele fara extensie..de ex:
    Cod:
    filterscripts enter exit
    HF!

      Data/ora curentă este: Sam Iul 27, 2024 12:53 am