Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /************************/
- /* UCMD v1.0 by Unicode */
- /************************/
- #if !defined _ucmd_included_
- #define _ucmd_included_
- #define ucmd:%0(%1,%2)\
- forward cmd_%0(%1,%2);\
- public cmd_%0(%1,%2)
- #define UCMD:%0(%1,%2) ucmd:%0(%1,%2)
- #define CMD:%0(%1,%2) ucmd:%0(%1,%2)
- #define COMMAND:%0(%1,%2) CMD:%0(%1,%2)
- #define command(%0,%1,%2) COMMAND:%0(%1,%2)
- #define cmd(%0,%1,%2) COMMAND:%0(%1,%2)
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 0;
- }
- forward OnPlayerCommandReceived(playerid, cmdtext[]);
- forward OnPlayerCommandPerformed(success, playerid, cmdtext[]);
- #if defined _ALS_OnPlayerCommandText
- #undef OnPlayerCommandText
- #else
- #define _ALS_OnPlayerCommandText
- #endif
- #define OnPlayerCommandText zcmd_OnPlayerCommandText
- forward ucmd_OnPlayerCommandText(playerid, cmdtext[]);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment