1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-10 19:07:12 +02:00

Begin working on a demo script.

Should be simple and easy to start with.
This commit is contained in:
Sandu Liviu Catalin
2019-08-13 21:14:20 +03:00
parent 8438283539
commit 47325fa8c0
12 changed files with 954 additions and 2 deletions

View File

@ -0,0 +1,49 @@
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointCreated
*/
SqCore.On().CheckpointCreated.Connect(function(/*SqCheckpoint*/ checkpoint, /*int*/ header, /*object*/ payload) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointDestroyed
*/
SqCore.On().CheckpointDestroyed.Connect(function(/*SqCheckpoint*/ checkpoint, /*int*/ header, /*object*/ payload) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointCustom
*/
SqCore.On().CheckpointCustom.Connect(function(/*SqCheckpoint*/ checkpoint, /*int*/ header, /*object*/ payload) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointStream
*/
SqCore.On().CheckpointStream.Connect(function(/*SqPlayer*/ client, /*SqCheckpoint*/ checkpoint, /*bool*/ is_deleted) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointEntered
*/
SqCore.On().CheckpointEntered.Connect(function(/*SqCheckpoint*/ checkpoint, /*SqPlayer*/ player) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointExited
*/
SqCore.On().CheckpointExited.Connect(function(/*SqCheckpoint*/ checkpoint, /*SqPlayer*/ player) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointWorld
*/
SqCore.On().CheckpointWorld.Connect(function(/*SqCheckpoint*/ checkpoint, /*int*/ old_world, /*int*/ new_world) {
});
/* --------------------------------------------------------------------------------------------------------------------
* Bind to global event: CheckpointRadius
*/
SqCore.On().CheckpointRadius.Connect(function(/*SqCheckpoint*/ checkpoint, /*float*/ old_radius, /*float*/ new_radius) {
});