30.06.2013, 13:29
use a stocked function like this
Cuz this returns the name of that id
instead of "name" in that format of string put "PlayerName(player1)"
NOTE: if u want your players name who use this command put "PlayerName(playerid)" if u want to get a other players name to that player Do this "PlayerName(player1)" or the var u use for kick/ban
Cuz this returns the name of that id
pawn Код:
stock PlayerName(playerid)
{
new name[24];
GetPlayerName(playerid,name,sizeof(name));
return name;
}
NOTE: if u want your players name who use this command put "PlayerName(playerid)" if u want to get a other players name to that player Do this "PlayerName(player1)" or the var u use for kick/ban