Command for nickchange - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Command for nickchange (
/showthread.php?tid=147163)
Command for nickchange -
Drowzz - 10.05.2010
Hello
I want a Command that i say /aperm And that the player can change his name
In a window
Screen:
How to do?
Please someone can make it for me?
With command line included
Screen from
www.maxlife-rpg.com
Re: Command for nickchange -
luckie12 - 10.05.2010
this is 2nd topic
about the same question
Quote:
Originally Posted by gigi1223
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2 && response)
{
SetPlayerName(playerid,inputtext);
return 1;
}
|
try that it works for me so
Re: Command for nickchange -
Drowzz - 10.05.2010
Код:
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Change your nickname","You can enter here a new nickname:","Accept","Nevermind");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2 && response)
{
SetPlayerName(playerid,inputtext);
return 1;
}
SO far i am..
Now i want this in a command /aperm Playerid
Can someone make it for me?