Forums Index >> Modding >> cloning on admin system
Page : <1> :
Sure, get an old admin script and copy and paste stuff that allowed you to clone.....
Is that it?Ok but where do I put it in the admin script 8o
Look in the dash codes forum. Theres a whole bunch of codes that people posted up including cloning and clone everyone.
Do you remeber what fourm or what page its on 8o
No, its too far. It's like past the 6th page or somethin' can't remember. General forums
Ok, here we go, in codes.cs - put this in your codes function with the rest of the codes...
Else if (%code $="/clo" | %code $= "/clone" )
call("clone",%sender,%a2);
Then put this right above the codes function...
Function clone(%sender,%target_nm)
{
if(!ClientIsAdmin(%sender,"/clone command failed you are not admin"))
return;
%match = matchClientName(%target_nm);
%client = firstword(%match);
%status_msg = restWords(%match);
If(%client == -1)
{
schedule(1000,false,"CommandToClient",%sender,'CenterPrint',%status_msg,4,4);
return;
}
schedule(1000,false,"centerprintall", %client.nameBase SPC $pref::Server::CloneMessage ,4);
%client.createplayer("lighttank");
}
Then in your dash/prefs.cs file put this at the very end...
$pref::Server::CloneMessage = " HAS BEEN CLONED ";
There you go...
Note: damn auto capitalization, make the first letter of each line of code a lowercase letter
Last edited: Sunday, February 06, 2005 at 1:53:13 PM
It wouldent let me say anything at all not even "hi"
Can you please post your codes.cs?
Ya it did not work for me ethier give me your admin script warefare(you can cancel out your admin PASSWORD if you want) XD
Please please please please......
PLEASE POST YOUR
CODES.CS HERE. :'( :'(
Hey spark#3
its going to be a while until I can post anything from my pc, I am grounded (the reason why I have not been around for 2 weeks)
I can use school pc's tho so I can answer questions but I cannot get you my codes.cs file
Also, you have to log in as admin then type /clo yourname
Still dosent work
Yea, do we have to set some pref to show how many codes it showes?
Just copy it as is to where I told you to, it works perfectly fine for those who know what they are doing
Your ghost is coming back to haunt you! XO
Delete the space after return I can clone
If(!ClientIsAdmin(%sender,"/clone command failed you are not admin"))
return;
<---- NO SPACE!
%match
Last edited: Saturday, April 02, 2005 at 8:11:20 AM
Man I don't post allot here any more and its still going.wow :)
Well, wait for my admin script :)
Page : <1> :
Hey does any one know how to put cloning in an admin system if you do please tell me.