Help me guys
#1

Hi guys am kevin...... I need scripting help in
1.) I need a cmd /status for cnr server....there should be these things......taze, ar, rob, rape, heal, mechanic, uncuff, etc as i said its for cnr server.
2.) I need a admin cmd /changename id

Plz make it for dcmd cuz am using dcmd



Hope u will help me .................. Tnx
Reply
#2

y no replies.........plz help n i need it for dcmd plzzzzzzzzzzz
Reply
#3

plz make better topic title so ppl will look and talk normally u don't u?
Reply
#4

1st thing what do u mean by status? explain clearly
2ns thing what is the enum thingy u use for ur player's name
Reply
#5

Quote:

dcmd_setname(playerid,params[])
{
if(AccInfo[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
{
new Index;
new tmp[256]; tmp = strtok(params,Index);
new tmp2[256]; tmp2 = strtok(params,Index);
if(!strlen(tmp) || !strlen(tmp2)) return
SendClientMessage(playerid, LIGHTBLUE2, "Usage: /setname [PlayerID] [NewName]") &&
SendClientMessage(playerid, orange, "Function: Will set Name of specified player!");
new player1 = strval(tmp);
new length = strlen(tmp2);
new string[128];
if(length < 3 || length > MAX_PLAYER_NAME) return
SendClientMessage(playerid,red,"ERROR: Incorrect Name Length");
if(AccInfo[player1][Level] == ServerInfo[MaxAdminLevel] && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel])
return SendClientMessage(playerid,red,"ERROR: You cannot use this command on this admin");
if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
{
SendCommandToAdmins(playerid,"SetName");
format(string, sizeof(string), " You have set \"%s's\" Name to \"%s\" ", pName(player1), tmp2);
SendClientMessage(playerid,BlueMsg,string);
if(player1 != playerid)
{
format(string,sizeof(string),"- Administrator \"%s\" has set your Name to \"%s\" -|", pName(playerid), tmp2);
SendClientMessage(player1,blue,string);
}
SetPlayerName(player1, tmp2);
return OnPlayerConnect(player1);
}
else return ErrorMessages(playerid, 2);
}
else return ErrorMessages(playerid, 1);
}

gimme star:P
__________________________________________________ _______________________________
High Voltage Drift
www.highvoltage-drift.tk
Reply
#6

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
1st thing what do u mean by status? explain clearly
2ns thing what is the enum thingy u use for ur player's name
Have u ever played cops and robber server?

If we type /status der it will show our current status like our rob level, rape level, taze level, cuff level, ar level, uncuff level, mechanic level, heal level etc................

This is wat i mean............so plz help me to script dat in dcmd


Tnx
Reply
#7

not all CnR servers have that kind of command, it will usually be something like /stats... if that's what you mean... and I don't think you should have cuff level, taze level etc. Maybe cuff skill level? Amount of robberies etc.
Reply
#8

Quote:
Originally Posted by ProdrifterX
Посмотреть сообщение
gimme star:P
__________________________________________________ _______________________________
High Voltage Drift
www.highvoltage-drift.tk
Tnx.............can u help me with /status cmd too
Reply
#9

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
1st thing what do u mean by status? explain clearly
2ns thing what is the enum thingy u use for ur player's name
Lol. Enum thingy for player name. Do you think player names are changed via enums?
@OP make a better explanation to your problem.
Reply
#10

I jss want to make a cmd /status for cops and robber server...........dats the only prob remaining

tnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)