Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Tamas on October 11, 2008, 10:54:45 pm
-
I have a problem with VRocker's DLL
I made a command that checks the currently game time:
elseif (gametime == $3) {
WSV.say Current Game Time: $chr(91) $WSV.hour $+ : $+ $WSV.minute $chr(93)
But its not showing the real time:
<~[SkT]Tamas> !settime 15:45
<&Robocop> Admin [SkT]Tamas Changed time to: [ 15:45 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 15:52 ]
<~[SkT]Tamas> !settime 12:20
<&Robocop> Admin [SkT]Tamas Changed time to: [ 12:20 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 12:21 ]
+I have another question about the DLL's setmarker, removemarker and putmarker functions.
It is possible to set a player's marker to a Sunshine-Autos icon for example?
Because i know this is possible in Bakasan's DLL.
+How can i add a marker to the map when iam currently ingame?
I use this function:
alias WSV.onjoin {
WSV.setmarker 26 -1022.3336 -853.7759 24.3164
But it is possible to add a marker when iam allready connected to the server?
For example !addmarker 25 <coord> --> than that specific marker appear on the map.
Regards :)
-
The time bug is due to the time prediction the dll uses. Seeing as vc-mp doesn't send any time data unless asked for it and doesn't tell the rcon client whether its locked, its predicted and asked for every 10 seconds.
I could add a call to stop the prediction inside the dll if needed.
Also, it should be possible to do what you want to do with markers. somebody else will have to help you out with that though since i've not really looked into them.
-
Markers
Well, [Ka]Twisted has a !marker command which will show lots of cash icons on the map for him, and it works well, you would have speak to him about it...
-
Hmm, i fixed the setmarker function but know when i place a merker somewhere than i can't delete it:
WSV.removemarker $4-
It is the same method what i use for setmarker its work, but this ones not. The marker not disappear from the map when i use this command.
Edit:
set 7 <id> (removes marker from player)
set 11 <id> <colour> (show player marker and change colour)
set 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)
Hmm i noticed, the vcmp 0.3z does not containes icon delete command :)