NPC PluginCommands: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
Line 51: Line 51:
===Note===
===Note===
These plugin commands also return messages. The 0x3b457A01 will return in channel 0x3b457A11, 02 in 12 and so on. Messages like <source>
These plugin commands also return messages. The 0x3b457A01 will return in channel 0x3b457A11, 02 in 12 and so on. Messages like <source>
Success. Recording Started for player 1</source>
Success. Recording Started for player 1</source> or errors
<source>
Error: recordtype must be 1, 2 or 3
</source>

Revision as of 13:45, 8 January 2024

Details

  • 0x3b457A01
start record player 
plgncmd 0x3b457A01 1 3 car_test 60
start recording player 1, recording type=3, filename=car_test, flags=60
  • 0x3b457A02
stop record player 
plgncmd 0x3b457A02 1 
start recording player 1
  • 0x3b457A03
start record all
plgncmd 0x3b457A03 3 60 1
recording type=3, flags=60, newplayers=1 means when other players connected, they will also be automatically recorded
  • 0x3b457A04
stop all 
plgncmd 0x3b457A04
stop all recording
  • 0x3b457A05
server record
plgncmd 0x3b457A05 3 60 christmas_event
recording type=3, flags=60, hrec filename=christmas_event
  • 0x3b457A06
stop server record 
plgncmd 0x3b457A05
stop server record. This will stop all recordings.

Note

These plugin commands also return messages. The 0x3b457A01 will return in channel 0x3b457A11, 02 in 12 and so on. Messages like

Success. Recording Started for player 1

or errors

Error: recordtype must be 1, 2 or 3