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 - Plornt

Pages: 1 ... 23 24 25 26 27 [28] 29 30 31 32 33 ... 58
406
Modification Help / Re: Raycast's
« on: December 12, 2009, 03:47:28 PM »
haha i make trashy scripts. All those useless lines :D

407
Modification Help / Re: Raycast's
« on: December 12, 2009, 03:38:32 PM »
Code: [Select]
package Package
{
   function GameConnection::OnPlayerEnterGame(%client)
   {
      %client.clanPrefix = "[Local]" @ %client.OldTag;
      parent::OnPlayerEnterGame(%client);
   }
   function GameConnection::AutoAdminCheck(%client)
   {
      %client.oldTag = %client.clanPrefix;
      parent::AutoAdminCheck(%client);   
      %client.clanPrefix = "[Loading]" @ %client.clanPrefix;
   }
   function GameConnection::OnDeath(%this, %player, %killer, %damageType, %unknownA)
   {
       Parent::OnDeath(%this, %player, %killer, %damageType, %unknownA);
      %this.clanPrefix = "[Dead]" @ %this.oldTag;
   }
};
Activatepackage(Package);

408
Modification Help / Re: Raycast's
« on: December 12, 2009, 03:35:06 PM »
You could just do
Code: [Select]
package Package
{
   function GameConnection::OnPlayerEnterGame(%client)
   {
      %client.clanPrefix = "[Local]" @ %client.clanPrefix;
      parent::OnPlayerEnterGame(%client);
   }
   function GameConnection::AutoAdminCheck(%client)
   {
      parent::AutoAdminCheck(%client);   
      %client.clanPrefix = "[Loading]" @ %client.clanPrefix;
   }
   function GameConnection::OnDeath(%this, %player, %killer, %damageType, %unknownA)
   {
       Parent::OnDeath(%this, %player, %killer, %damageType, %unknownA);
      %this.clanPrefix = "[Dead]" @ %this.clanPrefix;
   }
};
Activatepackage(Package);

409
Modification Help / Re: Raycast's
« on: December 12, 2009, 11:17:18 AM »
Code: [Select]
package PACKAGE
{
function servercmdMessageSent(%client,%msg)
{
if(getSubStr(%msg,0,1) $= "*" && $RolePlayChat == 1)
{
%Message = getSubStr(%msg,1,strLen(%msg));
initContainerRadiusSearch(%client.player.position,20,$TypeMasks::PlayerObjectType);
while((%targetobject=containerSearchNext()) !$= 0)
{
%client=%targetobject.client;
messageClient(%client,'',"\c6" @ %client.Name @ " " @ %message);
}
echo("" @ %client.Name @ " - [Me] " @ %message @ "!");
return;
}
parent::serverCmdMessageSent(%client.%msg);
}
};
ActivatePackage(Package);
I didn't test this so I'm not sure.
Say: *MessageHere

410
Help / Re: Server Auth Failing
« on: December 12, 2009, 11:03:40 AM »
Try reinstalling?

411
Help / Re: The homing projectile event...
« on: December 12, 2009, 11:00:23 AM »

412
Help / Re: Blockland randomly crashes
« on: December 12, 2009, 10:59:14 AM »
Type in trace(1); in the 'cmd prompt' then post the console.log

413
Help / Re: OnvehicleTouch ??????
« on: December 12, 2009, 10:57:57 AM »
They were failed because of lag checks it does. It may not lag at first but it will add up to start lagging.

414
Modification Help / Re: Raycast's
« on: December 11, 2009, 07:55:04 PM »
I suggest putting the schedule in a variable so you can stop it
$Loop = schedule(500, 0, ClientInfoDisplay, %client);

415
Modification Help / Re: Raycast's
« on: December 11, 2009, 07:44:50 PM »
Big deal dammit

416
Modification Help / Re: Raycast's
« on: December 11, 2009, 07:41:36 PM »
You searched for players, and the variable 'name' was defined under client. So you would have to get the players client.

417
Modification Help / Re: Raycast's
« on: December 11, 2009, 06:47:52 PM »
%raycast.client.getplayername() - i think

418
Modification Help / Re: Deleting a Line in a File
« on: December 10, 2009, 06:50:48 PM »
Oh wow, thanks ephi.

419
Modification Help / Re: Files
« on: December 10, 2009, 05:01:52 PM »
BanManagerSO is the object that handles bans, stop writing up new crap and just use it.
nu

420
Modification Help / Re: Files
« on: December 10, 2009, 04:55:39 PM »
Woah, I can't believe I missed that.
Thanks Chrono, now I can get rid of my super hackey way of doing it.
I just re wrote my ban system :P

Pages: 1 ... 23 24 25 26 27 [28] 29 30 31 32 33 ... 58