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 MenuQuote from: razacharan on Jul 23, 2016, 01:50 PMHello Guys I Need A Script Like That When A Person Kill Other Player Then The Wanted Level Increase To 1Problem is in your mind @Kewun
function onScriptLoad()
{
L <- BindKey(true, 0x4C,0,0);
}
function onKeyDown( player, key )
{
if ( key == L )
{
if(player.Vehicle!=null)
{
local v=player.Vehicle;
v.RelativeSpeed*=1.3;
}
}
}
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "freeze" )
{
if ( !text ) PrivMessage( player, "Hey use /freeze <Playername>" );
local plr = FindPlayer( text );
if ( !plr ) PrivMessage( player, "Invalid Player" );
else
{
Message( " " + player.Name + " has frozen " + plr.Name + " " );
plr.IsFrozen = true;
}
}
else if ( cmd == "unfreeze" )
{
if ( !text ) PrivMessage( player, "Hey use /unfreeze <Playername>" );
local plr = FindPlayer( text );
if ( !plr ) PrivMessage( player, "Invalid Player" );
else
{
Message( " " + player.Name + " has unfrozen " + plr.Name + " " );
plr.IsFrozen = false;
}
}
}