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 - [VSS]Shawn

#16
Servers / Re: [0.4] Revolution Gaming Server
Jul 26, 2015, 11:05 AM
is it open??
#17
Snippet Showroom / Re: Robbing System
Jul 26, 2015, 11:04 AM
gtfo I just add his random cash System not the whole function
#18
Hey Calm Down when did i say u use leaked script i just say i saw that function on that leaked script or what?
#19
Snippet Showroom / Robbing System
Jul 26, 2015, 10:24 AM
Hello Fella I am today releasing Robbing System for any server it quit Easy Just add these things

Credits : Ksna Random Cash Robbing

First Add on Commands

function onPlayerCommand( player, cmd, text )
{
if ( cmd == "robskills" )
{
MessagePlayer( "[#FF0000] Your robbing skill are: " + GetRob(player) + "." ,player );
}
}
   
   Now Work On Functions
   
   Add this on ScriptLoad
   RobieCopie();
Loade();
stats <- array(GetMaxPlayers(), null);
randomrob <- [ 50000, 10000, 15120, 220300, 25100, 350006, 355100, 403200 ];
   
   now on Functions.nut
   
   
   function RobieCopie()
{
QuerySQL( db, "CREATE TABLE IF NOT EXISTS Rob&Cop( Name TEXT),Robskill NUMERIC )" );
}
function GetRob( player )
{
   local Robie =  GetSQLColumnData( QuerySQL( db, "SELECT Robskills FROM Rob&Cop WHERE Name='" + player.Name+"'" ), 0 );
   if ( Robie ) return Robie;
   else return 0;
}
function SetRob( player, rob )
{
      QuerySQL(db, "UPDATE Rob&Cop SET Robskill='" +  rob.tointeger() + "' WHERE Name='" + player.Name + "'");   
}
   
   
   on PlayerClass
    Robskill = 0;
Cash = 0;
   
   Now Lets Move to PickupPickup
   
   function onPickupPickedUp( player, pickup )
{
if ( pickup.Model == 408 )
  {
Message("[#FF0000]"+ player.Name +" has Robbing the "+ GetDistrictName( player.Pos.x, player.Pos.y ) +"");
SetRob(player,GetRob(player)+1);
local a = randomrob[rand()% randomrob.len()]
stats[ player.ID ].cash = stats[ player.ID ].cash + a ;
Announce( "~y~ You have Robbed :"+ a +"", player )
player.Cash = stats[ player.ID ].cash;
pickup.RespawnTime = 30000;
}
}
   
   Now CreatePickups
   
    function Loade()
{
CreatePickup(508, Vector( 390.96, -506.26, 9.39 ));
CreatePickup(408, Vector( 204.29, -490.98, 11.06 ));
CreatePickup(408, Vector(-854.526, -631.75, 11.3756 ));
CreatePickup(408, Vector(-688.706, -1262.49, 16.3473 ));
CreatePickup(408, Vector(-665.025, -1484.42, 13.8016 ));
CreatePickup(408, Vector(-885.324, -469.998, 13.1111 ));
CreatePickup(408, Vector(-847.002, -71.6495, 11.5405 ));
CreatePickup(408, Vector(-1079.64, -275.416, 12.0882 ));
CreatePickup(408, Vector(-1036.4 81.2033, 11.6515 ));
CreatePickup(408, Vector(-992.73, 200.392, 15.2213 ));
CreatePickup(408, Vector(-830.158, 741.534, 11.2885 ));
CreatePickup(408, Vector(-906.182, 799.715, 11.4546 ));
CreatePickup(408, Vector(-854.047, 85 11.3846 ));
CreatePickup(408, Vector(-754.53, 1342.74, 11.767 ));
CreatePickup(408, Vector(472.16, 1009.2, 19.1493 ));
CreatePickup(408, Vector(423.496, 1039.0 18.9648 ));
CreatePickup(408, Vector(364.464, 1075.12, 19.0649 ));
CreatePickup(408, Vector(470.443, 1208.18, 19.0094 ));
}
   
   Enjoy ;)

If you find any bug feel free to post or pm me
   
#20
Thanks But My Bro Doom Help me Solve
#21
 I Just Wanna Know How I Add it i made function my self just don't know about That Fire
#22
I have Contact doctor he say you are alright i suddenly See in his List There was name called [thug]XuXu i say who is he he say he is my patient he is blind with no brain gtfo Problem Solve Thanks Ksna
#23
Scripting and Server Management / Shooter ;D
Jul 26, 2015, 07:12 AM
well i am creating shooter event like in E-G I complete that just one thing remain How car shoot like in E-G in Shooter Mode?
#24
what the hell yr
#25
what is it
#26
Hmmm I Didn't use this script i just check it code and tell or what btw i delete that script Even You can see Xtreme City Server ehich is Using That Leaked Script
#27
oh cmon yaar
#28
help?
#29
Snippet Showroom / Re: Race and Derby
Jul 25, 2015, 04:25 PM
LoL Wth Do u think Some newbies will come and do /race they will do /joinrace btw i have fix it
#30
Snippet Showroom / Re: Race and Derby
Jul 25, 2015, 03:23 PM
when i use this crepy code without /race


else if( cmd == "joinrace") {
 if ( !player.Spawned )MessagePlayer("Spawn to use this command" player);
 else if ( !race ) MessagePlayer("Race is not started do /race", player);
 else if ( stats[player.ID].raceplayer ) MessagePlayer("You already joined race.",player);
 else if ( racecount > 4 ) MessagePlayer("Too Late! Only 4 players can race at once", player);
 else if ( racestart ) MessagePlayer("Too Late!", player);
 else {
  racecount++;
   for( local i=0; i <= racecount; i++ )
  {
   local plr = FindPlayer( i );
   player.Vehicle = FindVehicle( i );
  }
  player.Frozen = true;
  stats[player.ID].raceplayer = true;
  Message(""+ player.Name +" has joined race.")
 }
 }

it say race not started do /joinrace
Shawn join race :\ wtf