Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: MacTavish on Jul 24, 2015, 12:43 PM

Title: [Filter Script] Spawnwep system
Post by: MacTavish on Jul 24, 2015, 12:43 PM
Easy to use and Tested

Just put spawnwep.nut in your server folder then

class PlayerStats

{
     spawnwepenabled = false;

spawnwepinstalled = false;

}


function onScriptLoad()
{
db <- ConnectSQL( "Spawnwep.db" ); // if you already created the database on db string then remove this line
globalslot<-{};
stats <- array( GetMaxPlayers(), null );
dofile("spawnwep.nut", true);

}

function onPlayerJoin( player )
{
stats[player.ID] = PlayerStats();
loadspawnwep(player.Name,ID);
}

function onPlayerPart( player, reason )
{
  savespawnwep(player.Name,player.ID);
}

function onPlayerSpawn( player )
{
      spawnwep(player);
  }



function onPlayerCommand( player, cmd, text )
{
if(cmd=="spawnwep"||cmd=="dspawnwep")
    {
onspawnwepcommand(player.Name,cmd,text);
}
}

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F547a0be422cef1781009d64876a2a2dd%2Fspawnwep.nut&hash=41068b4521c94bdb7ab00dd5e7aa667e54b9dfac) (http://files.thijn.ovh/download/547a0be422cef1781009d64876a2a2dd/spawnwep.nut)


Note: there is a Table creating query must look it if you didnt loaded database as "db <- ConnectSQL

Credits: @hotdogcat

Update: added functions that was missed before
Title: Re: [Filter Script] Spawnwep system
Post by: Ksna on Jul 24, 2015, 03:35 PM
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fwww.keble.ox.ac.uk%2Fstudents%2Fstudy-skills-and-assistance%2Fplagiarism.gif&hash=7d87ecc279799a4206d4450e8642c9359e41f60a)(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fwww.earnmoneywithgoogleadsense.com%2Fwp-content%2Fuploads%2F2015%2F04%2Fplagiarism-Avoid.png&hash=b042356d60e6fb9fd78c81cef1f8828c1759524b)

http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1408.msg11189#msg11189
and this is a snippet you posted in in script releases

and stop claiming other's script as your's or your grandfather's or your grandmother's
http://forum.vc-mp.org/?topic=1078.msg7125#msg7125
Title: Re: [Filter Script] Spawnwep system
Post by: MacTavish on Jul 24, 2015, 04:19 PM
Where did i said that i'd created this?
Title: Re: [Filter Script] Spawnwep system
Post by: Ksna on Jul 24, 2015, 04:20 PM
Quote from: Beztone on Jul 24, 2015, 04:19 PMWhere did i said that i'd created this?

Then where are the credits
Title: Re: [Filter Script] Spawnwep system
Post by: MacTavish on Jul 24, 2015, 04:24 PM
Quote from: Ksna on Jul 24, 2015, 04:20 PM
Quote from: Beztone on Jul 24, 2015, 04:19 PMWhere did i said that i'd created this?

Then where are the credits

Actually i'd just copied it from an script that my friend gave me, i didnt given credits because i was dont know about the creator

Added
Title: Re: [Filter Script] Spawnwep system
Post by: [VSS]Shawn on Jul 25, 2015, 04:04 AM
hmmm Kratos leaked script btw thanks for release
Title: Re: [Filter Script] Spawnwep system
Post by: Kratos_ on Jul 25, 2015, 05:42 AM

Quote from: [VSS]Shawn on Jul 25, 2015, 04:04 AMhmmm Kratos leaked script btw thanks for release

Is this me ? Could you be more specific ?
Title: Re: [Filter Script] Spawnwep system
Post by: [VSS]Shawn on Jul 25, 2015, 05:43 AM
Yaar I dont know but on that script it was creater Kratos
Title: Re: [Filter Script] Spawnwep system
Post by: Kratos_ on Jul 25, 2015, 05:55 AM
Quote from: [VSS]Shawn on Jul 25, 2015, 05:43 AMYaar I dont know but on that script it was creater Kratos

There are too many Kratos in this community .


Did anyone of them gave you scripts ?

The name "Kratos" now became a market-product . Probably they would be fan of that bald guy ( God of war ) .
I wanted to change this nick but too late has been happened now . Btw I have no associations with that script . And what is being leaked actually ? The snippet's source is already published by a guy in HotDogCat's thread .
Title: Re: [Filter Script] Spawnwep system
Post by: [VSS]Shawn on Jul 25, 2015, 06:07 AM
yaar it was Krato$
Title: Re: [Filter Script] Spawnwep system
Post by: Drake on Jul 26, 2015, 04:42 AM
Quote from: Kratos_ on Jul 25, 2015, 05:42 AM
Quote from: [VSS]Shawn on Jul 25, 2015, 04:04 AMhmmm Kratos leaked script btw thanks for release

Is this me ? Could you be more specific ?
Quote from: [VSS]Shawn on Jul 25, 2015, 05:43 AMYaar I dont know but on that script it was creater Kratos
Quote from: [VSS]Shawn on Jul 25, 2015, 06:07 AMyaar it was Krato$

/me is shocked!

People still using that script? Rofl.
I am really shocked on seeing that the bugged script is still being used by these members of this community.
If you are wondering that was it my script? then Yes it was mine.
My previous name was "KraTO$" and I made that bugged script :-X which was leaked by some of the worst members of this community many months back(I think 5-6 months ago)
I dont wanna mention those names here.
Please for God's Sake -> "Stop using it"

"Peace At Last" LOL
Title: Re: [Filter Script] Spawnwep system
Post by: [VSS]Shawn on Jul 26, 2015, 05:13 AM
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
Title: Re: [Filter Script] Spawnwep system
Post by: MacTavish on Jul 26, 2015, 05:28 AM
Quote from: [VSS]Shawn on Jul 26, 2015, 05:13 AMHmmm 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

Oh come on i bet that you cant create a countdown with single timer so shut your mouth and take your ass out of my topic and this is not copied from GTX and the second thing i agree that i used leaked GTX to open my server but i scripted that from scratch when i was in karachi, i am not noob like you
Title: Re: [Filter Script] Spawnwep system
Post by: KAKAN on Jul 26, 2015, 05:30 AM
LOL, a cd with single timer, is it a question? xD
A small kid who has started to script can even do it
Shall I paste that code here(cd with single timer)?
Title: Re: [Filter Script] Spawnwep system
Post by: DizzasTeR on Jul 26, 2015, 06:17 AM
Quote from: KAKAN on Jul 26, 2015, 05:30 AMLOL, a cd with single timer, is it a question? xD
A small kid who has started to script can even do it
Shall I paste that code here(cd with single timer)?

If someone really knows the basics of coding then one can definitely create that but he is talking about some special guys who can't.
Title: Re: [Filter Script] Spawnwep system
Post by: NE.DiamondBlue on Jul 26, 2015, 10:48 AM
Quote from: Beztone on Jul 26, 2015, 05:28 AM
Quote from: [VSS]Shawn on Jul 26, 2015, 05:13 AMHmmm 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

Oh come on i bet that you cant create a countdown with single timer so shut your mouth and take your ass out of my topic and this is not copied from GTX and the second thing i agree that i used leaked GTX to open my server but i scripted that from scratch when i was in karachi, i am not noob like you
I agree i have heard about Beztone he never copies like XuXu and others
Title: Re: [Filter Script] Spawnwep system
Post by: [VSS]Shawn on Jul 26, 2015, 11:04 AM
Hey Calm Down when did i say u use leaked script i just say i saw that function on that leaked script or what?
Title: Re: [Filter Script] Spawnwep system
Post by: MacTavish on Jul 26, 2015, 11:16 AM
I am gonna lock the topic before @Thijn lock it
Title: Re: [Filter Script] Spawnwep system
Post by: Adrenaline on Apr 04, 2017, 12:51 PM
link removed
Title: Re: [Filter Script] Spawnwep system
Post by: MacTavish on Apr 05, 2017, 11:03 PM
Link Updated