06.12.2016, 11:07
Hey. Mm..
Is there any way to "return name;" through mysql ?
"SetPlayerName(playerid, GetPlayerNameFromDb(1);"
1 ... ID
I use BlueG's Plugin
(don't want to use variables)
EXAMPLE:
?
Is there any way to "return name;" through mysql ?
"SetPlayerName(playerid, GetPlayerNameFromDb(1);"
1 ... ID
I use BlueG's Plugin
(don't want to use variables)
EXAMPLE:
PHP код:
stock GetPlayerNameFromDb(id){
new name[MAX_PLAYER_NAME];
mysql_format...blablabla, select ID
mysql_tquery...blabla, threaded query
cache_get_value(0, "name", name, sizeof(name));
return name;
}