SA-MP Forums Archive
neeeed help+rep - 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: neeeed help+rep (/showthread.php?tid=525736)



neeeed help+rep - PrinXe - 13.07.2014

hello i m using nadmin that nadmin is attached to my gm ..but their is no aka command so it creates problem everytime..
can anyone tell me any aka command.. code?


Re: neeeed help+rep - Clad - 13.07.2014

You are in the wrong section.
https://sampforum.blast.hk/showthread.php?tid=447813&page=525


Re: neeeed help+rep - ScripteRNaBEEL - 13.07.2014

try this
pawn Код:
dcmd_aka(playerid,params[])
{
if(AccInfo[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
{
if(!strlen(params)) return
SendClientMessage(playerid, LIGHTBLUE2, "Usage: /aka [PlayerID]") &&
SendClientMessage(playerid, orange, "Function: Will see other names used per specified player (AKA)");
new player1, playername[MAX_PLAYER_NAME], str[128], pIP[50];
player1 = strval(params);
if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
{
GetPlayerIp(player1,pIP,50);
GetPlayerName(player1, playername, sizeof(playername));
format(str,sizeof(str),"|- %s's AKA -|", playername);
SendClientMessage(playerid,blue,str);
format(str,sizeof(str),"|- Id: %d | Ip: %s | Names: %s -|", player1, pIP, dini_Get("LuxAdmin/Config/aka.txt",pIP));
return SendClientMessage(playerid,blue,str);
}
else return SendClientMessage(playerid, red, "Player is not connected or is yourself");
}
else return ErrorMessages(playerid, 1);
}



Re: neeeed help+rep - PrinXe - 13.07.2014

I HAVE TO DEFINE ANYTHING THE CODE THAT U GAVE NABEEL


Re: neeeed help+rep - ScripteRNaBEEL - 13.07.2014

frist it


Re: neeeed help+rep - Clad - 13.07.2014

Nabeel do you read the rules ?
Quote:
Originally Posted by ******
# Do Not Post Untested Code - If you are replying to a problem and you haven't confirmed that your code will work, you are likely to make the problem worse, not better.
# Script Requests - If you are requesting a script be made for you, rather than help with your coding, post in the Looking for scripters/helpers? Post here! Thread.
The code you gave him won't work for him, It does work only in your script.
@PrinXe, Yes, You will have to define a lot of stuff in his command, Even colors.


Re: neeeed help+rep - ScripteRNaBEEL - 13.07.2014

ok sorry clad