spikes for player

Started by MEGAMIND, Jul 20, 2016, 12:50 PM

Previous topic - Next topic

MEGAMIND

what is this how can it help me
function onPlayerSpawn( player )
{
    rMessage( ">> " + player.Name + " has spawned." );
if(player.Skin==0)
     {
        player.Spikes=true;
     }
   
}

MatheuS

#1
It is not a command, it is a weapon mod. The link is below,

To use:
player.GiveWeapon( 100, 999 );

if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

Cool

Quote from: MatheuS on Jul 20, 2016, 01:22 PMIt is not a command, it is a weapon mod. The link is below,

To use:
player.GiveWeapon( 100, 999 );

NO ITS not a weapon i remember it ffrom 0.3 that was a thing which makes something on player screen but now i forget

MatheuS

Quote from: Hercules on Jul 20, 2016, 01:44 PM
Quote from: MatheuS on Jul 20, 2016, 01:22 PMIt is not a command, it is a weapon mod. The link is below,

To use:
player.GiveWeapon( 100, 999 );

NO ITS not a weapon i remember it ffrom 0.3 that was a thing which makes something on player screen but now i forget

Show me. I need see this in VCMP 0.4 8)
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

Cool

Quote from: MatheuS on Jul 20, 2016, 01:50 PM
Quote from: Hercules on Jul 20, 2016, 01:44 PM
Quote from: MatheuS on Jul 20, 2016, 01:22 PMIt is not a command, it is a weapon mod. The link is below,

To use:
player.GiveWeapon( 100, 999 );

NO ITS not a weapon i remember it ffrom 0.3 that was a thing which makes something on player screen but now i forget

Show me. I need see this in VCMP 0.4 8)
I think its not available in 0.4 because i searched wiki and every where but not exists and also not work in game

Stormeus

@MatheuS is correct. Spikes exist in 0.4 in the form of a new type of weapon and the weapon definition he gave you should work fine.

MatheuS

Link Updated.
I had forgot to put in bbcode
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

MEGAMIND

im not looking for this

Stormeus

Yes you are, you're just too stubborn to realize it. The code you posted is from 0.3 and doesn't work anymore. What's been posted is the equivalent for 0.4. It gives players police spike strips just like the 0.3 code.