Onplaryerclickplayer - 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: Onplaryerclickplayer (
/showthread.php?tid=428600)
Onplaryerclickplayer -
NicholasA - 06.04.2013
If i have a dialog open up when clicking on a players name, how can i make a dialog choice do something to the player?
Re: Onplaryerclickplayer -
doreto - 06.04.2013
example
pawn Код:
GivePlayerMoney(clickedplayerid,500);
* i will give $500 on that player you click (TAB> click on player name)
or
pawn Код:
GetPlayerScore(clickedplayerid);
* will return clicked player scores
Re: Onplaryerclickplayer -
NicholasA - 06.04.2013
Quote:
Originally Posted by doreto
example
pawn Код:
GivePlayerMoney(clickedplayerid,500);
* i will give $500 on that player you click (TAB> click on player name)
|
Thanks
![Smiley](images/smilies/smile.png)
+rep