28.01.2011, 17:38
Quote:
pawn Код:
i dont know, how to make the nick change script, i use dini registration, help me please.. |
pawn Код:
dcmd_nick(playerid, params[])
{
if(strlen(params) < 4)
{
SendClientMessage(playerid,RED,"4 letters not more..");
return 1;
}
else
{
SetPlayerName(playerid, params);
SendClientMessage(playerid,0xFFFFFFFF,"** You've changed your nick **");
}
return 1;
}
Enjoy!