Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Karthik on Dec 30, 2015, 04:27 PM

Title: Spawnwep !!
Post by: Karthik on Dec 30, 2015, 04:27 PM
I need spanwrp system plz give me anyobody the last topic tha kingofvc gave link that was bugged i tested so plz help
Title: Re: Spawnwep !!
Post by: MacTavish on Dec 30, 2015, 04:42 PM
I think search option is available here btw here you go Click (http://forum.vc-mp.org/?topic=1109.msg7394#msg7394)
Title: Re: Spawnwep !!
Post by: Karthik on Dec 30, 2015, 04:50 PM
kusanagi that kingofvc told me link which u gave but i got so errors in that dontvtell me i dont know how to add
i added right
Title: Re: Spawnwep !!
Post by: MacTavish on Dec 30, 2015, 08:07 PM
to load that spawnwep script just follow the steps

download .nut file and put to YouServerDir\here in the root of your server directory and

put this onScriptLoad this will load that nut file
dofile("spawnwep.nut", true);


and put this in onPlayerCommand function

if(cmd=="spawnwep"||cmd=="dspawnwep")
    {
onspawnwepcommand(player.Name,cmd,text);
 }
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 12:28 PM
i will try to addd if i found bug i will tell u
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 01:30 PM
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fpostimg.org%2Fimage%2Fw0unz09zr%2F&hash=646b64a3dc8e960a5f1819fa8615cc66a4251f8f)

Here is error
link also of errorhttp://postimg.org/image/w0unz09zr/
Title: Re: Spawnwep !!
Post by: MacTavish on Dec 31, 2015, 01:50 PM
put this in your onScriptLoad()

db <- ConnectSQL( "Spawnwep.db" );
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 02:39 PM
that error is fixed but another error
here is link http://postimg.org/image/lo6e99e63/
Title: Re: Spawnwep !!
Post by: MacTavish on Dec 31, 2015, 02:58 PM
onscriptload
globalslot<-{};
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 03:10 PM
ANother errorhttp://postimg.org/image/5ut1bbd2t/
:(
Title: Re: Spawnwep !!
Post by: MacTavish on Dec 31, 2015, 03:20 PM
Sorry that was my mistakes i've updated the topic now included all functions check it again Check (http://forum.vc-mp.org/?topic=1109.msg7394#msg7394)

if you still get any error then PM me
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 03:32 PM
Working fine but this error http://postimg.org/image/5jfra9sp3/
:(
Title: Re: Spawnwep !!
Post by: Karthik on Dec 31, 2015, 05:52 PM
Locked solved