SA-MP Forums Archive
Killerid name - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Killerid name (/showthread.php?tid=587388)



Killerid name - jamesmith12 - 30.08.2015

How do i change KILLERID name?


Re: Killerid name - Variable™ - 30.08.2015

Код:
SetPlayerName(killerid, "name");



Re: Killerid name - jamesmith12 - 30.08.2015

ah thanks!


Re: Killerid name - Variable™ - 30.08.2015

Also you can do this, to add a tag to the killer's name like [DM].
Код:
    new string[20], kname[MAX_PLAYER_NAME];
    GetPlayerName(killerid, kname, sizeof(kname));
    format(string, sizeof(string), "[DM]%s", kname);
    SetPlayerName(killerid, string);