• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] help with this pls
#4
Code:
CMD:id(playerid, params[])
{
    new target_id, string[256], target_name[MAX_PLAYER_NAME  1];
    if (sscanf(params, "u", target_id)) return SendClientMessage(playerid, -1, "USAGE: /id <nick/playerid>");
    GetPlayerName(target_id, target_name, sizeof(target_name));
    format(string, sizeof(string), "%s [ID: %d]", target_name, target_id)
    SendClientMessage(playerid, -1, string);

return 1;
}
  Reply


Messages In This Thread
help with this pls - by Nicolas_Belic - 2021-02-23, 11:29 PM
RE: help with this pls - by Nicolas_Belic - 2021-02-23, 11:55 PM
RE: help with this pls - by destiezk - 2021-02-24, 01:13 AM
RE: help with this pls - by destiezk - 2021-02-24, 01:19 AM
RE: help with this pls - by Kwarde - 2021-02-25, 09:26 PM
RE: help with this pls - by Freaksken - 2021-02-26, 11:30 AM
RE: help with this pls - by destiezk - 2021-02-26, 12:31 PM
RE: help with this pls - by ImOver - 2021-02-25, 06:37 PM

Forum Jump: