Posts: 12
Threads: 3
Joined: Apr 2010
Reputation:
0
Heeeey People,
Can someone make a script for me?
When i (AS ADMIN) typ:
/aperm playerid and then give that player premission to chhange his name.
only rcon logged admin
This is what i want?
So please can someone fix it for me
Posts: 209
Threads: 31
Joined: Mar 2010
Reputation:
0
Do you have already code for that? If so, show it. Or do you want someone to write you a whole /changenick command?
If you aren't very newbie, you can add it on your own? Use IsPlayerAdmin.
Posts: 12
Threads: 3
Joined: Apr 2010
Reputation:
0
i have the beginning and that is only for player selfs use
i want that i as admin can GIVE it to an other..
Tonight is post the code what i have
Posts: 214
Threads: 1
Joined: May 2010
Reputation:
0
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.