Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: [DGC]Doomer on January 13, 2010, 12:19:30 PM

Title: need help for a script
Post by: [DGC]Doomer on January 13, 2010, 12:19:30 PM
well i want to make a script for my server which you must use
!bank for example to create a marker (maybe dark red , or black dot on map (like the player ones)) then the newer players to vc (i have got many friends that started to play vcmp) can get there easily , and then when they touch the marker/pickup , the marker will delete itself. But the big problem is, i dont know how i can do this. which commands i need to use , which parameters , any new aliases?

Script base: FBS / mIRC
Title: Re: need help for a script
Post by: Skirmant on January 14, 2010, 08:27:58 PM
I have a hard time understanding what you said... I guess you want this command.

elseif ($3 == bank) vcmp.setmarker $1 1 vcmp.location($1,$2).x vcmp.location($1,$2).y vcmp.location($1,$2).z

1 is the marker id. It can be from 1 to 30, but not any higher I think.
Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 06:01:48 AM
and how i can remove it later , if the player reaches the bank
Title: Re: need help for a script
Post by: Skirmant on January 15, 2010, 01:50:45 PM
Well there is a way to remove a marker since FBS uses the Vrockers DLL. Never tried it though.

Add this near the other aliases.

alias vcmp.removemarker !return $dll( " $+ $scriptdirvcmp.dll $+ ", RemoveMarker, $1- )

Then make a timer that detects if you're in the bank.

It should work something like this vcmp.removemarker $1 1





Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 02:21:06 PM
and only one question left:

whats this?:

alias vcmp.setplayermarker !return $dll( " $+ $scriptdirvcmp.dll $+ ", SetPlayerMarker, $1- )
Title: Re: need help for a script
Post by: Skirmant on January 15, 2010, 02:30:17 PM
Its used to set a players icon color on the mini map.
Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 02:55:49 PM
should i use it like this

vcmp.setplayermarker $1 1 %x %y %z  ?
Title: Re: need help for a script
Post by: Skirmant on January 15, 2010, 03:01:34 PM
No its vcmp.setplayermarker $1 $2 1

1 can be from 0 to 11.


Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 03:09:30 PM
as a marker or what?
Title: Re: need help for a script
Post by: thijn on January 15, 2010, 03:21:55 PM
it just sets the color of the dot you see on your radar.
Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 03:23:31 PM
which dot? the one of other players or what?
Title: Re: need help for a script
Post by: Skirmant on January 15, 2010, 03:26:42 PM
Its the player dot on the map. You can't see the color of your dot, only of others.
Title: Re: need help for a script
Post by: [DGC]Doomer on January 15, 2010, 03:33:36 PM
ah ok