• Welcome to Vice City Multiplayer.
 

WSV place script..

Started by Punjabi, October 11, 2008, 03:09:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Punjabi

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..>>

Cristian

#1
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

   
   


Tamas

Coord checker IF command:
Quoteif (* $+ [ Your Place ] $+ * iswm $WSV.loco($2)) {

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

Punjabi

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..>>

Tamas

if ($4 == spas) { (means if you type !buy spas)
if ($WSV.money($2) >= 1500) {