SA-MP Forums Archive
Problem with onplayerclickplayer - 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: Problem with onplayerclickplayer (/showthread.php?tid=403611)



Problem with onplayerclickplayer - Unista - 30.12.2012

Hi.
Im from poland kurwa mac and i want to apologise about my bad english.
Is in 0.3d OnPlayerClickPlayer is available? because i cant click on player with new 0.3d players list
Can i set it for me TAB list to older version? (i want to use it for admin options)??


Re: Problem with onplayerclickplayer - Feastahashi - 30.12.2012

Actually we're on 0.3e.

Download from: http://files.sa-mp.com/sa-mp-0.3e-install.exe

And yes, Click option works, I already tested once.


Re: Problem with onplayerclickplayer - Mr.Anonymous - 31.12.2012

If you simply click on a players name, nothing will happen. Make some function for it. Like:

pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{  
    new message[32];
    format(message, sizeof(message), "You clicked on player %d", clickedplayerid);
    SendClientMessage(playerid, 0xFFFFFFFF, message);
    return 1;
}
Source: https://sampwiki.blast.hk/wiki/OnPlayerClickPlayer


Re: Problem with onplayerclickplayer - JaKe Elite - 31.12.2012

All hail.
Welcome to future of SA-MP.
We are now in 0.3e. It will not probably work because you didn't put anything OnPlayerClickPlayer.

Follow Mr.Anonymous code for example..