[Help]aka - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]aka (
/showthread.php?tid=555339)
[Help]aka -
astanalol - 07.01.2015
Hello Guys
i Want CMD:aka
i have IP write in my player stats
i want aka please guys
+rep for helping
Re: [Help]aka -
astanalol - 07.01.2015
Guys please i want aka ZCMD
will load from y_ini / IP,
i want help to make it to showing ip player please
Re: [Help]aka -
mahdi499 - 07.01.2015
I want to help, but cant seem to understand you, could you properly explain it for me?
Re: [Help]aka -
astanalol - 07.01.2015
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
Re: [Help]aka -
Glossy42O - 07.01.2015
Don't exept us to make command for u.
We don't make we help. there is a HUGE differents.
Re: [Help]aka -
astanalol - 07.01.2015
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
Re: [Help]aka -
CrazyChoco - 07.01.2015
Get play ip, and ini should help. Not that complicated
Re: [Help]aka -
HY - 07.01.2015
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.
Re: [Help]aka -
CrazyChoco - 07.01.2015
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.
Re: [Help]aka -
arlindi - 11.01.2015
Anyone?