Menu

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.

Show posts Menu

Messages - Finch Real

#31
Won't works
Use This
function onPlayerKill( killer, player, reason, bodypart )
{
killer.WantedLevel++;
player.WantedLevel--;
if ( killer.WantedLevel == 1 )
{
killer.Cash += 4000;
}
else if ( killer.WantedLevel == 2 )
{
killer.Cash += 8000;
}
else if ( killer.WantedLevel == 3 )
{
killer.Cash += 12000;
}
else if ( killer.WantedLevel >= 4 )
{
killer.Cash += 50000;
}
}
#32
@razacharan Add Distance function in your main.nut after function onscriptload
And add command to function onPlayerCommand
#33
Snippet Showroom / Re: [Untested]Cash on Body
Jul 22, 2016, 10:43 AM
You guys are just useless
#34
Snippet Showroom / Re: [Untested]Cash on Body
Jul 22, 2016, 09:51 AM
Why you will do /kill while in heli or skimmer?
#35
I am trying to say If i help peoples like that Every Stuid gonna Ask me
'Why you just provide them code let them learn themselves '
#36
Add one more } at end
#37
@Thijn If i gave someone proper example then theu gonña start saying
why you don't want to learn themselves?
#38
Snippet Showroom / Re: [Untested]Cash on Body
Jul 22, 2016, 08:52 AM
Updated!
#39
Snippet Showroom / Re: [Untested]Cash on Body
Jul 21, 2016, 02:01 PM
If you think marker will mess out your server remove it...
#40
Snippet Showroom / Re: [Untested]Cash on Body
Jul 21, 2016, 01:56 PM
Updated @Kewun @KAKAN  I have create it for not only one Pickup It will create as much when player died and will get removed when someone pickit
#41
Snippet Showroom / [Untested]Cash on Body
Jul 21, 2016, 01:50 PM
function onPlayerKill( killer, player, reason, bodypart )
{
  local x = player.Pos.x, y = player.Pos.y, z = player.Pos.z;
local cash = Vector( x.tofloat() + 1, y.tofloat() + 1, z.tofloat() );
CreatePickup( 337, cash );
MessagePlayer( "You have lost 50$", player );
player.Cash -= 50;
Message( "State Alert - 50$ is on the ground Follow the radar on marker to find it and claim it" );
}
function onPlayerDeath( player, reason )
{
    local x = player.Pos.x, y = player.Pos.y, z = player.Pos.z;
local cash = Vector( x.tofloat() + 1, y.tofloat() + 1, z.tofloat() );
CreatePickup( 337, cash );
MessagePlayer( "You have lost 50$", player );
player.Cash -= 50;
Message( "State Alert - 50$ is on the ground Follow the radar on marker to find it and claim it" );
}
function onPickupPickedUp( player, pickup )
{
if ( pickup.Model == 337 )
{
MessagePlayer( "You have claimed 50$", player );
player.Cash += 50;
pickup.Remove();
}
}
I am not from pc so I haven't tested Code But i am sure it will works
Updated!
#42
That's not shit That was exàmple for him
#44
Simply Download It
#45
Maybe problem in your vectors