Vice City Multiplayer

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

Title: need help for a script
Post by: [DGC]Doomer on January 13, 2010, 02: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, 10:27:58 pm
I have a hard time understanding what you said... I guess you want this command.

Code: [Select]
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, 08: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, 03: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.

Code: [Select]
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, 04: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, 04: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, 04: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, 05: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, 05:09:30 pm
as a marker or what?
Title: Re: need help for a script
Post by: thijn on January 15, 2010, 05: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, 05: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, 05: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, 05:33:36 pm
ah ok