mirror of
https://github.com/diamante0018/PP-GSC.git
synced 2025-05-12 15:34:52 +00:00
feat: new macro
This commit is contained in:
parent
ec3f0cdb1a
commit
96798f4032
@ -32,6 +32,10 @@
|
|||||||
thread onPlayerConnect(); \
|
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 */
|
/* Captures a "connected" event. Perform your action(s) using the "player" variable */
|
||||||
#define _ON_PLAYER_CNCT_BEGIN onPlayerConnect() \
|
#define _ON_PLAYER_CNCT_BEGIN onPlayerConnect() \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user