[Ajuda] OnPlayerConnect
#9

Tente com o ALS 7 Hook:

pawn Код:
public OnPlayerConnect(playerid)
{
    // Init all of the textdraw related globals
    gHeaderTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
    gBackgroundTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
    gCurrentPageTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
    gNextButtonTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
    gPrevButtonTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
    gCancelButtonTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;
   
    for(new x=0; x < mS_SELECTION_ITEMS; x++) {
        gSelectionItems[playerid][x] = PlayerText:INVALID_TEXT_DRAW;
    }
   
    gItemAt[playerid] = 0;

    #if defined MP_OPC
        MP_OPC(playerid);
    #endif
    return 1;
}
#if defined _ALS_OnPlayerConnect
    #undef OnPlayerConnect
#else
    #define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect MP_OPC
#if defined MP_OPC
    forward MP_OPC(playerid);
#endif
Reply


Messages In This Thread
OnPlayerConnect - by Locky_ - 25.01.2015, 02:24
Re: OnPlayerConnect - by MultiKill - 25.01.2015, 02:37
Re: OnPlayerConnect - by Locky_ - 25.01.2015, 02:41
Re: OnPlayerConnect - by MultiKill - 25.01.2015, 03:21
Re: OnPlayerConnect - by Locky_ - 25.01.2015, 03:25
Re: OnPlayerConnect - by PT - 25.01.2015, 08:09
Re: OnPlayerConnect - by n0minal - 25.01.2015, 13:56
Re: OnPlayerConnect - by Locky_ - 26.01.2015, 15:19
Re: OnPlayerConnect - by PT - 26.01.2015, 19:12
Re: OnPlayerConnect - by WLSF - 26.01.2015, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)