Author Topic: WSV place script..  (Read 3099 times)

0 Members and 1 Guest are viewing this topic.

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
WSV place script..
« on: October 11, 2008, 05:09:44 pm »
Can someone tell me how can i make that people have to goto that place to buy that thing example.=if they want to buy wepon m60 they have togo ammunation and to type !buywep <ID> and how can i set the prizes of different weopans........like m6o=1000,spaz=1200 like this ..
Plz reply if have any idea..

Cya
Punjabi_goli
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline Cristian

  • Wiseguy
  • **
  • Posts: 63
    • View Profile
Re: WSV place script..
« Reply #1 on: October 11, 2008, 05:18:09 pm »
in config.ini

<<<<< START OF Ammunation Settup >>>>>

Ammunation_Shop = #shop.no #Pos.X #Pos.Y #Pos.Z #camera.angle.x #camera.angle.y #camera.angle.z #camera.pos.x #camera.pos.y #camera.pos.z

A_Weapon = #shop.no #weapon.pos.x #weapon.pos.y #weapon.pos.z #weapon.1 #weapon.1.Cost #weapon.2 #weapon.2.Cost #weapon.3 #weapon.3.Cost #weapon.4 #weapon.4.Cost

example:

Ammunation = 0 -66.0178 -1481.7504 10.4940 -60.593 -1486.241 12.433 -60.508 -1484.245 12.428

A_Weapon = 0 -60.793 -1488.141 12.24274 278 150 283 220 277 230 276 210

Weapon
Cost

   
   
« Last Edit: October 11, 2008, 08:07:16 pm by Cristian »


Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: WSV place script..
« Reply #2 on: October 11, 2008, 11:01:00 pm »
Coord checker IF command:
Quote
if (* $+ [ Your Place ] $+ * iswm $WSV.loco($2)) {

Price checker IF command:
Quote
if ($WSV.money($2) >= Your price value) {

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: WSV place script..
« Reply #3 on: October 12, 2008, 03:04:40 pm »
But how can i set prizes for differen weopans like..
m60=1000
spaz=1200
granide=300
and allll..........

Hmm which u have given is for only a single weopan i think...plz reply if u have any other idea regarding the script..

Cya
Punjabi_goli
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: WSV place script..
« Reply #4 on: October 14, 2008, 11:52:37 pm »
if ($4 == spas) { (means if you type !buy spas)
if ($WSV.money($2) >= 1500) {