Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Punjabi on October 11, 2008, 04:09:44 PM

Title: WSV place script..
Post by: Punjabi on October 11, 2008, 04: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
Title: Re: WSV place script..
Post by: Cristian on October 11, 2008, 04: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

   
   
Title: Re: WSV place script..
Post by: Tamas on October 11, 2008, 10:01:00 PM
Coord checker IF command:
Quoteif (* $+ [ Your Place ] $+ * iswm $WSV.loco($2)) {

Price checker IF command:
Quoteif ($WSV.money($2) >= Your price value) {
Title: Re: WSV place script..
Post by: Punjabi on October 12, 2008, 02: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
Title: Re: WSV place script..
Post by: Tamas on October 14, 2008, 10:52:37 PM
if ($4 == spas) { (means if you type !buy spas)
if ($WSV.money($2) >= 1500) {