SA-MP Forums Archive
OnPlayerClickTextDraw ++REP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerClickTextDraw ++REP (/showthread.php?tid=562314)



OnPlayerClickTextDraw ++REP - norton2 - 08.02.2015

Код HTML:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == FactionSkins[playerid][1])
    {
        if(PlayerInfo[playerid][pMember] == 1)
        {
            SetPlayerSkin(playerid, 280);
            Update(playerid, pSkinu);
            CancelSelectTextDraw(playerid);
        }
    }
    return 1;
}
Error: warning 213: tag mismatch
Line:
Код HTML:
if(clickedid == FactionSkins[playerid][1])
I'm use PlayerTextDraw.


Re: OnPlayerClickTextDraw ++REP - WASD - 08.02.2015

PHP код:
new Text:FactionSkins[MAX_PLAYERS][max]; 



Re: OnPlayerClickTextDraw ++REP - norton2 - 08.02.2015

+REP