Name prefixes
#1

How do you actually save name prefixes with PVar variables (MySQL). Should u use PVarString? It would be wonderfull if I could get few examples. Tyvm
Reply
#2

bump
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)