Name prefixes
#3

you could add prefix[definelengthhere] e.g prefix[20] to the enum then when you want the prefix to show call it there with PVar[playerid][prefix]

so like,
format(string, sizeof(string), "[%s]%s says:",PVar[playerid][prefix],[PVar][playerid][name]);
SendClientMessage(playerid, -1, string);
as an example
Reply


Messages In This Thread
Name prefixes - by ixesas - 21.03.2016, 09:28
Re: Name prefixes - by ixesas - 21.03.2016, 21:58
Re: Name prefixes - by Markus_Whiteus - 21.03.2016, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)