12.07.2015, 07:47
there are two usefull functions
SetPlayerName
GetPlayerName
here is a demo:
insert that OnPlayerConnect callback to check
SetPlayerName
GetPlayerName
here is a demo:
Код:
new name[1000], new_name[1020]; GetPlayerName(playerid, name, 1000); format(new_name, sizeof(1020), "[Player]%s", name); SetPlayerName(playerid, new_name);