Quote:
Originally Posted by [K4L
Leopard ]
Quote:
Originally Posted by Biofreeze
It is possible to refer to a command in a function , without re-typing the code that's used to make the command work ? For example if you created a menu and you want to execute the command ''/help'' if he has chosen " case 0 ". Etc etc.
|
OnPlayerCommand(playerid, "/help");
Leopard
|
Oh thanks for clearing that up
EDIT: OnPlayerCommand isent defined. I know how it works with dcmd. But these commands are not separtly functions. So how to define them ?
EDIT2: nvm Fixed. onplayercommandtext >_>