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

Pages: 1 ... 1847 1848 1849 1850 1851 [1852] 1853 1854 1855 1856 1857 ... 2027
27766
Drama / Re: Post your ban list
« on: May 23, 2009, 12:30:09 AM »
Nothing

27767
Modification Help / Re: Help to All - Official Topic
« on: May 23, 2009, 12:24:00 AM »
Quote
   function player::damage(%damagedObject, %damagerObject, %position, %damage, %damageType)
   {

      if(isObject(%damagedObject) && isObject(%damagedObject.client) && isObject(%damagedObject.client) && %damagedObject != %damagedObject && %damagedObject.getDamageLevel() + %damage < %damagedObject.getDatablock().maxDamage && CityRPdataData.getData(%damagedObject.client.bl_id).valueDemerits < $CityRPdata::demerits::wantedLevel && getWord(CityRPdataData.getData(%damagedObject.client.bl_id).valueJailData, 1) < 1)
      {
         %client = ((%damagedObject.getType() &
$typeMasks::vehicleObjectType) && isObject(%damagerObject.getControllingClient())) ? %damagerObject.getControllingClient() : %damagerObject.client;
         %Damagedclient = ((%damagedObject.getType() & $typeMasks::vehicleObjectType) && isObject(%damagedObject.getControllingClient())) ? %damagedObject.getControllingClient() : %damagedObject.client;
         //Remember, the damaged client might be in a vehicle while getting hurt!

         if(%damagedObject.getDamageLevel() + %damage < %damagedObject.getDatablock().maxDamage)
         {
             if(!%client.godmode)
             {
            commandToClient(%client, 'centerPrint', "\c6You have commited a crime. [\c3Attempted Murder\c6]", 1);
            
            %client.CityRP(2, $CityRPdata::demerits::attemptedMurder);
             }

             else if(%Damagedclient.godmode)
             {
            return;
             }


         }
      }
      
      parent::damage(%damagedObject, %damagedObject, %pos, %damage, %damageType);
   }
Think that's your answer.(CityRP)

27768
Add-Ons / Re: Return to Blockland
« on: May 23, 2009, 12:21:14 AM »
Yeah finally got the original from my computer.

The inverted one was crap.

27769
Clan Discussion / Re: [N] Niacin
« on: May 23, 2009, 12:20:19 AM »
And Zoneark, you're a friend

So stfu go rage on something else you whiny bitch..
Much better.

27770
Drama / Re: I HAVE PROPS LINK
« on: May 23, 2009, 12:19:18 AM »
Hey look I found the funky shirt script!

Let me post it!

27771
Add-Ons / Re: Return to Blockland
« on: May 22, 2009, 11:58:49 PM »
And I took Chrono's avatar, which it wasn't his in the first place.

27772
Off Topic / Re: O stuff 15!
« on: May 22, 2009, 11:57:12 PM »
Anyone else thinking what I'm thinking about that cake? :o
That's naughty.

27773
General Discussion / Re: Blockland's Popularity
« on: May 22, 2009, 10:01:58 PM »

27774
Clan Discussion / Re: [N] Niacin
« on: May 22, 2009, 09:48:41 PM »
22 posts were against the clan/you
2 post with this clan

8 posters hate the clan/you
2 poster was with this clan

27775
Modification Help / Re: Bricks
« on: May 22, 2009, 09:05:58 PM »
Give us the rest of your code

27776
Drama / Re: I'm Mr. lovey Pirate
« on: May 22, 2009, 08:57:54 PM »
Normal wierd face now? I miss the inverted one or whatever.
Yeah, finally got the original from my computer.

I like the normal one better.

27777
Modification Help / Re: Bricks
« on: May 22, 2009, 08:51:50 PM »
It means it couldn't find your BLB file

27778
Gallery / Re: another dm made in 2 days
« on: May 22, 2009, 08:43:57 PM »
My laptop will never be able to handle that.

27779
Modification Help / Re: Opening A Door
« on: May 22, 2009, 08:43:01 PM »
Okay, works now! Thanks for the help!

Now, I have another question... I don't wanna start another topic, so I'll post it here. Could I do the exact same thing, but target a player instead and turn their screen white? Would this work at all?
Code: [Select]
package Conjunctivitus
{
function ConjunctivitusImage::onHitObject(%this,%obj,%slot,%col,%pos,%normal)
{
if((%col.getType() & $TypeMasks::PlayerObjectType))
{
%col.player.setWhiteOut(.8);
Parent::onHitObject(%this,%obj,%slot,%col,%pos,%normal);
}
else
{
Parent::onHitObject(%this,%obj,%slot,%col,%pos,%normal);
}
}
};

activatePackage(Conjunctivitus);
exec("./support_Spacecasts.cs");
Look at some flash-bang grenade, think it's just flash grenade.

27780
Off Topic / Re: New computer?
« on: May 22, 2009, 08:41:57 PM »
2500+ bricks and draw distance down for me. (MSI Wind laptop)

Pages: 1 ... 1847 1848 1849 1850 1851 [1852] 1853 1854 1855 1856 1857 ... 2027