If you have nothing then come back again another time
/* Latest Battle */
#info-bar > p {
background: url(../images/site/wrench.png) no-repeat 0 0;
float: left;
margin: 5px 0 0 10px;
padding: 1px 0 2px 20px;
}
Some lopers code...
It is currently Wed May 15, 2024 2:57 am
/* Latest Battle */
#info-bar > p {
background: url(../images/site/wrench.png) no-repeat 0 0;
float: left;
margin: 5px 0 0 10px;
padding: 1px 0 2px 20px;
}
"ravenholmbeta"
{
"l4d_ravenholmbeta01_blackmesa" "1"
"l4d_ravenholmbeta02_traptown" "2"
"l4d_ravenholmbeta03_church" "3"
"l4d_ravenholmbeta04_cavern" "4"
"l4d_ravenholmbeta05_docks" "5"
}
My account name is to big for puny humans.
moroes wrote:http://www.youtube.com/watch?v=MMsPS7ULAYA
Metallica Guitar Lesson ^^
rain()
{
rain = getentarray ("trigger_rain", "targetname");
if (rains.size > 0)
{
level._effect["rain"] = loadfx ("fx/atmosphere/chateau_rain.efx");
}
for (i=0;i<rain.size;i++)
{
rains[i] thread rain_think();
}
}
rain_think()
{
while (1)
{
self waittill ("trigger",other);
if(isSentient(other))
other thread rain_kill(self);
}
}
rain_kill(trigger)
{
if(isDefined(self.flag))
return;
wait(.5);
wait(randomFloat(.5));
if(self istouching(trigger))
{
if (self == level.player)
{
if(players.size > 0) {
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;
for(ii=0;ii<max_nodes_per_player;ii++) {
for(i = 0; i < players.size; i++) {
player = players[i];
if(isAlive(player)) {
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.rain,trace["position"]);
wait 0.05;
}
else
return;
}
self.flag = undefined;
}
protected function updateUserDetails(array $details) {
if ( $this->isLoggedIn() ) {
$validDetails = array_intersect_key($details,$this->_userDetails);
if ( count($validDetails) < 1 ) {
return false;
}
foreach ( $validDetails as $key => $value ) {
$detailsSql[$key] = $key . ' = \'' . $this->db->escapeString($value) . '\'';
}
$sql = $this->db->queryUpdate(implode(',',$detailsSql),$this->getUserDetails('userID'));
if ( $this->db->query($sql) ) {
$this->_userDetails = array_merge($this->_userDetails,$validDetails);
return true;
}
}
return false;
}
Users browsing this forum: No registered users