change nick command
#6

The code is quite easy and I am sure you can do it on your own:

Create a command expecting a playerid/playername and a string. Inside the command, check whether the player is an admin (with whatever indicator you use for that), if he is you can use SetPlayerName just as well.

One suggestion in general: Directly switch to dcmd/zcmd when you are just about to learn scripting.

At SA-MP wiki you can find lots of information about it.
Reply


Messages In This Thread
change nick command - by teamicecold - 14.05.2010, 13:51
Re: change nick command - by Assyria - 14.05.2010, 15:18
Re: change nick command - by teamicecold - 14.05.2010, 15:29
Re: change nick command - by teamicecold - 14.05.2010, 18:10
Re: change nick command - by Drowzz - 14.05.2010, 18:50
Re: change nick command - by juice.j - 14.05.2010, 19:01
Re: change nick command - by Drowzz - 14.05.2010, 19:52
Re: change nick command - by juice.j - 14.05.2010, 20:00
Re: change nick command - by Drowzz - 14.05.2010, 20:18
Re: change nick command - by Assyria - 14.05.2010, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)