[Help]aka
#1

Hello Guys
i Want CMD:aka
i have IP write in my player stats
i want aka please guys
+rep for helping
Reply
#2

Guys please i want aka ZCMD
will load from y_ini / IP,
i want help to make it to showing ip player please
Reply
#3

I want to help, but cant seem to understand you, could you properly explain it for me?
Reply
#4

Quote:
Originally Posted by mahdi499
Посмотреть сообщение
I want to help, but cant seem to understand you, could you properly explain it for me?
i type /aka > Show To Me IP Player
simple
Reply
#5

Don't exept us to make command for u.

We don't make we help. there is a HUGE differents.
Reply
#6

Quote:
Originally Posted by Stuun23
Посмотреть сообщение
Don't exept us to make command for u.

We don't make we help. there is a HUGE differents.
my problem
i cant understand how to open file data player to i know how to make and not there tut. to make aka
Reply
#7

Get play ip, and ini should help. Not that complicated
Reply
#8

pawn Код:
CMD:aka(playerid, params[])
{
    new name[MAX_PLAYER_NAME], IP[20], string[50], ID;
    if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "/Aka [ID]");
    if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "That player isn't connected.");
    GetPlayerName(ID, name, sizeof(name));
    GetPlayerIp(ID, IP, sizeof(IP));
    format(string, sizeof(string), "%s [%d] IP it's %s.", name, ID, IP);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Wasn't so hard guys.. It's only a function.

EDIT: wrong code. sorry, edited.
Reply
#9

Quote:
Originally Posted by HY
Посмотреть сообщение
pawn Код:
CMD:aka(playerid, params[])
{
    new name[MAX_PLAYER_NAME], IP[20], string[50], ID;
    if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "/Aka [ID]");
    if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "That player isn't connected.");
    GetPlayerName(ID, name, sizeof(name));
    GetPlayerIp(ID, IP, sizeof(IP));
    format(string, sizeof(string), "%s [%d] IP it's %s.", name, ID, IP);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Wasn't so hard guys.. It's only a function.

EDIT: wrong code. sorry, edited.
The theory is correct in your code, but i assumed, he wanted to type /aka id, and then all users registered will be displayed. Your code will only display usernames ip address.
Reply
#10

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)