neeeed help+rep
#1

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?
Reply
#2

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

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);
}
Reply
#4

I HAVE TO DEFINE ANYTHING THE CODE THAT U GAVE NABEEL
Reply
#5

frist it
Reply
#6

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.
Reply
#7

ok sorry clad
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)