Posts: 53
Threads: 24
Joined: Jun 2011
Reputation:
0
So, let's say I want to set a player's name, how do I target HIS ID to be changed? Like, HIS name and not mine (playerid).
Posts: 305
Threads: 52
Joined: Mar 2012
Reputation:
0
First, use sscanf and create 2 variables, target and newname.
Second, update his/her account name (if you're using file saving/MySQL)
Lastly, use SetPlayerName to a new name.
Posts: 53
Threads: 24
Joined: Jun 2011
Reputation:
0
Thanks a lot you both! I never thought targetid actually existed hehe, thanks.
And yeah, I've already done the variable name, I just didnt know targetid existed at all :P.