Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AGlass0fMilk

Pages: 1 ... 140 141 142 143 144 [145] 146 147 148 149
2161
Modification Help / Re: Infinite condition
« on: March 13, 2009, 09:37:28 PM »
For some reason, it's still not working. Did I mention there was a second command? It's to un Blind the person. Here is the entire code:
Code: [Select]
function servercmdblind(%client, %user)
{
if(!%client.isAdmin)
{
messageClient(%client, '', '\c6You must be an Admin to use this command');

return;
}
if(%user !$= "")
{
%player = findClientByName(%user).player;
%playern = FindclientByName(%user);
if(!isObject(%player))
{
messageClient(%Client, '', '\c6That player hasnt spawned yet!');

return;
}
else
{
WhiteOut(%player);
messageAll("", '\c3%1\c6 was Blinded by \c3%2', %playern.name, %client.name);
messageClient(%player, '', '\c6You were blinded by \c3%1', %client.name);
}

function Whiteout(%player)
{
if(!isObject(%player))

return;

%player.setWhiteout(1000);
%player.whiteoutsch = schedule(100,0,"Whiteout",%player);
}

function Servercmdunblind(%Client, %user, %player, %playern)
{
if(!%client.isAdmin)
{
messageClient(%client, '', '\c6You must be an Admin to use this command');

return;
}
if(!isObject(%player))
{
messageClient(%Client,'', '\c6That player hasnt spawned yet!');

return;
}
if(%user !$= "")
{
cancel(%player.whiteoutsch);
messageAll("", '\c3%1 \c6has un blinded \c3%2', %playern.name, %client.name);
messageClient(%player, '', '\c3%1 \c6 has un blinded you.', %Client.name);
}
}
}
Now here is the syntax in the console (I just took a chunk of the script and put the error halt where it was in the console):
Code: [Select]
	{
WhiteOut(%player);
messageAll("", '\c3%1\c6 was Blinded by \c3%2', %playern.name, %client.name);
messageClient(%player, '', '\c6You were blinded by \c3%1', %client.name);
}

function ##W##hiteout(%player) <<< (this is not in the real code, here so it's not so hard to find the error)
{
if(!isObject(%player))

return;

%player.setWhiteout(1000);
%player.whiteoutsch = schedule(100,0,"Whiteout",%player);
}

function Servercmdunblind(%Client, %user, %player, %playern)
{
Could someone tell me why this is syntaxing?

2162
Modification Help / Re: Infinite condition
« on: March 13, 2009, 08:49:10 PM »
=(

By the way I laughed when it read "Blah Blah Blah not so blind anymore" XD Ephi you are awesome

2163
General Discussion / Re: Brick Physics Preview
« on: March 13, 2009, 08:34:08 PM »
Holy flying fudge cakes :D
That was Epic win. Reminded me of BoomBlox When it showed the catapult event.

It will probly be minigame only for the exploding bricks. Then you can set the physics to admin only and such.

BOOMBLOX ROX

Now, this looks sweet. Although it's been saying "coming soon" since 2008, and its 3 months into 2009, but, alas, I couldn't write v11 in.... well I couldn't write it at all. So keep working Blockland team.

2164
Modification Help / Re: Infinite condition
« on: March 13, 2009, 08:06:10 PM »
That doesn't make it continue looping, mind you, I'm making a server command to blind people, Ill post the code.

Code: [Select]
package Blind
{
function servercmdblind(%client, %user)
{
if(!%client.isAdmin)
{
messageClient(%client, '', '\c6You must be an Admin to use this command');

return;
}
if(%user !$= "")
{
%player = findClientByName(%user).player;
%playern = FindclientByName(%user);
%player.setwhiteout(1000);
%player.whiteoutschedule = schedule(100,0,"whiteoutschedule",%player);
messageAll("", '\c3%1\c6 was Blinded by \c3%2', %playern.name, %client.name);
messageClient(%player, '', '\c6You were blinded by \c3%1', %client.name);
}
}
};
ActivatePackage(Blind);
Please help more.

2165
Modification Help / Infinite condition
« on: March 13, 2009, 07:15:49 PM »
How do I set a condition like white out to be never ending? Is it possible?

2166
Modification Help / Re: Flintlock Rifle!
« on: March 13, 2009, 03:53:12 PM »
Yeah, actually it is a big problem handicap.

You sir, are an starfish.

2167
It's not as easy as you think. You can't just instantly learn how to script, I might script your guns....

2168
Modification Help / Re: City Life
« on: March 13, 2009, 01:41:02 PM »
You can never make a game exactly like real life. The only thing that gives me some hope about this is that a majority of it will be built, but beside that, LAG CITY

2169
Modification Help / Re: Need scripter(s)
« on: March 12, 2009, 05:43:57 PM »
Well, PM me and I'll try to script it, I have more experience than just copy-pasting the gun script, but it will be my first weapon.

2170
THAT WOULD TAKE SO LONG TO DOWNLOAD, just download them as they come, there are too many add ons  to do that.

2171
Modification Help / Re: Update Milkshape 3D DTS Plus Exporter
« on: March 09, 2009, 04:55:48 PM »
Shutup.

On-topic: This will be REALLY helpful. Thanks alot Packer for updating us. Greatly appreciated.

You are an ass, by the way O_O

2172
Modification Help / Re: CityRP v2
« on: March 09, 2009, 04:36:40 PM »
=/ I wouldn't waste my time, the flare of city rps ran out for me after a little while. Don't waste your time doing this, make something else.

2174
Modification Help / Re: City Life
« on: March 09, 2009, 04:22:12 PM »
=/ I might want to get in on this.

2175
General Discussion / Re: who inherits blockland?
« on: March 08, 2009, 08:24:06 PM »
Jesus Badspots only like 20.. Discussing death already... USA life expectancy must be low.

He's closer to 40 than 30.

Pages: 1 ... 140 141 142 143 144 [145] 146 147 148 149