Inside3D tutorials.
Created By: | jester51 |
eMail: | jester51@mindspring.com |
Difficulty Scale: | Easy\Medium |
/* ============ ClientKill Player entered the suicide command ============ */ void() ClientKill = { bprint (self.netname); bprint (" suicides\n"); set_suicide_frame (); self.modelindex = modelindex_player; self.frags = self.frags - 2; // extra penalty respawn (); };
void() ClientKill = { self.netname = "King Llama" // makes sure they regret it bprint (self.netname); bprint ("suicides: what a dumbass!"); // changed suicide message set_suicide_frame (); // Remove if you don't want the LLama to re-spawn! self.modelindex = modelindex_player; self.frags = self.frags - 5; // extra penalty.. note the lack of the //respawn (). This makes sure they have to leave. };Compile, and enjoy! Try running this on you're server! have fun, and don't forget to not suicide :) Note: This lesson is under construction. A follow up is comming soon!