14.10.2011, 07:20
I am currently using a stock from VXRP, GetName but I want to know how I can just get an actoull name on a command, if you understand..
Heres the stock
But I want to know how to do that in a command..
Heres the stock
PHP код:
stock GetName(playerid)
{
new Name[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, Name, sizeof(Name));
}
else
{
Name = "Disconnected/Nothing";
}
return Name;
}