29.07.2014, 22:24
You can either use OnPlayerCommandPerformed or you can use it incommand.
I'd imagine you'd only need to check whether he's registered and if he's already started a career, which could easily be saved in any SQL/INI system.
Process:
Check if player is registered & variable careermade is 0.
If it's 0, let them use the command.
If not, the don't.
The OnPLayerCommandPErformed way would be just to compare cmdtext[] with /startcareer, then just do the same process.
I'd imagine you'd only need to check whether he's registered and if he's already started a career, which could easily be saved in any SQL/INI system.
Process:
Check if player is registered & variable careermade is 0.
If it's 0, let them use the command.
If not, the don't.
The OnPLayerCommandPErformed way would be just to compare cmdtext[] with /startcareer, then just do the same process.

