Author Topic: Script requests  (Read 1496 times)

A script that lets you select a playertype to always spawn with
I believe all you'd need is a way to easily set datablock, and then a small modification to the default player persistence
« Last Edit: November 16, 2012, 02:36:10 AM by Headcrab Zombie »

function servercmdplayerstuffs(%client)
{
   for(%i  = 0; %i < dataBlockGroup.getCount() ; %i++)
   {
      %datablock = dataBlockGroup.getObject(%i);
      
      if(getSubStr(%datablock.getName(),0,6) $="player")
      {   
         %data = trim(%datablock.getName());
         %client.chatmessage("<color:ffffff>" SPC %data);
      }
   }
}


Here is a script that finds playertypes and any datablock with the word "player" first...
Hope it helps :P

if(getSubStr(%datablock.getName(),0,6) $="player")
what
if(%datablock.getClassName() $= "PlayerData")
also gj making a laggy servercmd that anyone can spam

I already knew how to do that, I've just been lazy playing tf2 and stuff, sorry

what
if(%datablock.getClassName() $= "PlayerData")
also gj making a laggy servercmd that anyone can spam
meh

you can make gui's with events? I don't think so....

They aren't exactly GUIs, more that they are Textule Menus using color and font tags to make it look professional.


Make an Online Database. This Database needs to be on an actual, viewable webpage.

Example:

Jhonny is hosting a Team Deathmatch and wants to send stats on Billy to the Online Database. That is what I'd like to see from you.

You should first, learn what you need to. Secondly, start brainstorming on designing a nice system. From there you'll write the actual code (writing the code should take the least amount of time in this process).

Remember, if you have any questions, we over in the Coding Help section we'll be glad to answer them.



I requested awhile back for a vampire playertype. I'm not sure how much of a script that is, but you could possibly make a script that makes it so when a person types something like /vampire, or /vampireme, they get the traits of a vampire. Yes I'd actually rp with the script so don't make it if you'd hate the idea of vampire rps.


i told u no
I requested awhile back for a vampire playertype. I'm not sure how much of a script that is, but you could possibly make a script that makes it so when a person types something like /vampire, or /vampireme, they get the traits of a vampire. Yes I'd actually rp with the script so don't make it if you'd hate the idea of vampire rps.
what are these vampire traits?

I have a few in mind, but you could add as many as you wanted.
1: Clicking another non-vampire paralysis the victim for a few seconds, (letting you get away while their stuck standing there, possibly with the tumble affect.) and you gain health+blood if you wanted to add a blood gage or what not.
2: Extra health, SLIGHTLY faster, not the speed of sound, and once again slightly higher jumping.
3:Setting most skin parts to a paler color. (Arms, hands, head, etc etc...)
4:And to top it off, a better climbing ability, if possible the one used by the zombies in Rot's Zombie mod.


I'm sorry I'm not in the mood to code right now, I apologize for this not being completed, I will hopefully later

I'm sorry I'm not in the mood to code right now, I apologize for this not being completed, I will hopefully later
Oh I wasn't rushing you I was just wanting to keep the thread alive.



I don't exactly know what page it has to get to be considered "too old" because badspot changed it to something shorter than what it used to be.

Oh I wasn't rushing you I was just wanting to keep the thread alive.



I don't exactly know what page it has to get to be considered "too old" because badspot changed it to something shorter than what it used to be.
okay, thats fine just letting you know, anyway if it gets too old I can just make another