Forums Index >> Modding >> Art Crazy's Admin Script!
The admin tank won't work! :( :[
The admin tank shows up white :'( :S
I did put the skins!
No but I did put them in the tanks file too! :'(
The gui version dosent work for me
P.s I am sounding like a noob huh.
I figured out that the main.cs won't edit for me any more :[
I got it to work
The invisible code dosent work :[
Correction.. I made the invisible code work (HEHE)
If you release it I know it would be deleted... And you'd probably be silenced/banned...
Well at least if it was my script... If you did it from scratch go right ahead ;)
Repent can you unban me from your server?
One day I wasn't banned the next day I was :S
What did you do wrong??? Oh and tell the Truth!
4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!
Last edited: Friday, January 27, 2006 at 11:00:20 AM
Actually I just wanted to know the pass to a server and he banned me.
I apologized and he said ask you to unban me.
I dont have the TankDb.cs file; only the DSO; whre to get it???
Where do I put the files
Ok ill try
Ok ill try
the sites down!
Ok its up and where is the admin tanks and the jeep file again XO
Last edited: Monday, February 06, 2006 at 3:42:32 AM
Where Is the tank dbs file
Last edited: Monday, February 06, 2006 at 12:40:52 PM
Tell him where DJ
Ok. I cant belive I got this workin. A few ques... How do you swith the name such as when you first come into ther server it tells who the host is. It still syas NAME. Also I cant hear my area effect.
Cloud
I quit usind Dashes one
//Execos2 to be called from the special.cs
function execos2()
{
exec("./Observer 2.cs");
Observer 1.cs asks for a Observer 2, but there aint is a observer 2! :(
^dont worry, I had that for an older version, and never removed it... That function is NEVER executed unless you add it manually...
It was my old way of executing stuff after tank.cs, I told people to put a schedule for that function in the special.cs (as tank.cs is executed right after)
It won't harm you in any ways, dont worry :)
Art quick question, I have added a few extra weapons to my special.cs and wanted to be able to use the ACAS to activate them in game. So I added three additional else if statements to the admin codes.cs and that workes fine. However following this I made another 2 weapons and a couple of tanks and added them in the same way, but this time an advance script error came up on the dedicated console window. I hav also got another 3 weapons to add.
Any ideas?
Here is what I added that worked fine and have double/treble checked the additional what if statements I added for the extra weapons and tanks and it is identical, any ideas/suggestions?
Else if(%code $= "/flame")
{
if(IsDictator(%sender,"You're not a Dictator"))
admprojectilechanger(%sender,%msg,"FlamethrowerProjectile");
return;
}
else if(%code $= "/bomb")
{
if(IsDictator(%sender,"You're not a Dictator"))
admprojectilechanger(%sender,%msg,"NukebombProjectile");
return;
}
else if(%code $= "/fire")
{
if(IsDictator(%sender,"You're not a Dictator"))
admprojectilechanger(%sender,%msg,"FireRingProjectile");
return;
}
This is the additional what if statements I added for the extra weapons and tanks and it is identical, any ideas/suggestions?
Else if (%code $= "/astir")
{
if(IsDictator(%sender,"You're not a Dictator"))
admtankchanger(%sender,%msg,"SpecialTank");
return;
}
else if (%code $= "/dazmin")
{
if(IsDictator(%sender,"You're not a Dictator"))
admtankchanger(%sender,%msg,"DazminTank");
return;
}
else if(%code $= "/gun")
{
if(IsDictator(%sender,"You're not a Dictator"))
admprojectilechanger(%sender,%msg,"GunProjectile");
return;
}
else if(%code $= "/special")
{
if(IsDictator(%sender,"You're not a Dictator"))
admprojectilechanger(%sender,%msg,"SpecialProjectile");
return;
}
The first else is in lower case in the script but PTT changes this to capital, I am aware of that.
Daz
Last edited: Wednesday, February 22, 2006 at 4:35:05 PM
I once had that prob...It's too many if statements. Just try to find four useless ones you don't need, and delete those, or just put in those codes in a different script.
E.g:
<IF STATEMENTS HERE>
else
{
Dazzlecodes(<variables, too lazy to type them>);
}
Then, in a different function, put all your other if statements.
Yes I tried that, I created annew functuon in the admin codes.cs file and called it function AdminCodes2(%sender,%a2)
Still got the same error, I even created another cs file and executed that from the main.cs in the admin script folder, same result.
Any solutions, withouit deleting some of the codes in the admin codes.cs?
Daz
Last edited: Friday, February 24, 2006 at 5:55:05 AM
^can't help him... But he posted the 200th post :P
EDIT : I didn't want to get spamming here so here's my question
How to get |admin| after you're name if you are admin? - I saw people doing it - do you need an extra script or so?
Last edited: Friday, February 24, 2006 at 10:40:04 PM
Except fer ^ u need cant put spaces or it will mess up. Like so (ex.)
say ur name was bad teen (hehehe)
/r bad teen bad teen{admin}- it will turn out teen bad teen{admin}
wat u should type
/r bad bad teen{admin}
Just make sure u use a recognizable word that is in theri name. Hope this clarifies it more! XD
I need to know how to login as admin its not working wat I typed in /adm PASSWORD is that wrong
@ mon and blitz : Ty for helping! I was wondering how to do that SO long! :) XD
C@S
Last edited: Saturday, February 25, 2006 at 8:48:26 AM
OKay I did everythin it said on the instructions twice! It works but fer some reason my passwords aren't workin. Just an ex...
I set passwords like tis
dictator-------------turret
minister---health
civillian-----tank
but when I type /adm turret it kicks me out of my server!!
Me to
8(
Help?
The giu window will not appear XO
I dont have a mac
^^ Oww.. Then I have a rare mac... My guiwindow works perfect on my parents mac... :o
@ XXXXX : Are you sure you did use ctrl+s [or something else if you edited]?
If you try to, but it doesn't work, its not so bad... No need to reïnstall. But if ya realy want the gui window I suggest reïnstalling. ;)
^^WOW!
Finally a Mac that works my Admin Script! Could you give me the computers info (just about what Mac it is + version)?
It's a miracle! The Mac finally understood this simple thing called a GUI! XD
I hope it also happens in other computers o.O
What dooes it mean when it says:add the names you/your admins use to play/admin your
Server. In the install instructions
Last edited: Tuesday, March 07, 2006 at 4:13:54 PM
Got it
EDIT:
There is an updated version, lik, and post in the general forum, linky:
http://supra.planetthinktanks2.com/archives/comm-thread.asp?thread=13581&forum=4
Last edited: Monday, August 21, 2006 at 12:38:32 PM