11.03.2015, 14:47
I want to do something like that
stock GetPlayerNameByID(playerid)
This function will return the player name by his ID (incremented)
SELECT username FROM player WHERE id = %d
And then I can format message with
format(string, sizeof(string), "%s is (not) connected !", GetPlayerNameByID(playerid));
(and many other stuff like this)
stock GetPlayerNameByID(playerid)
This function will return the player name by his ID (incremented)
SELECT username FROM player WHERE id = %d
And then I can format message with
format(string, sizeof(string), "%s is (not) connected !", GetPlayerNameByID(playerid));
(and many other stuff like this)