feat: new macro

This commit is contained in:
6arelyFuture 2024-03-20 13:01:18 +01:00
parent ec3f0cdb1a
commit 96798f4032
Signed by: Future
GPG Key ID: FA77F074E98D98A5

View File

@ -32,6 +32,10 @@
thread onPlayerConnect(); \
}
#define GENERIC_COROUTINE_END \
level endon( "game_ended" ); \
self endon( "disconnect" );
/* Captures a "connected" event. Perform your action(s) using the "player" variable */
#define _ON_PLAYER_CNCT_BEGIN onPlayerConnect() \
{ \