Variable Help
#9

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.
Reply


Messages In This Thread
Variable Help - by McBan - 29.07.2014, 21:28
Re: Variable Help - by youssefehab500 - 29.07.2014, 21:32
Re: Variable Help - by McBan - 29.07.2014, 21:35
Re: Variable Help - by youssefehab500 - 29.07.2014, 21:40
Re: Variable Help - by ThePhenix - 29.07.2014, 21:41
Re: Variable Help - by SickAttack - 29.07.2014, 21:41
Re: Variable Help - by Don_Cage - 29.07.2014, 21:58
Re: Variable Help - by DaniceMcHarley - 29.07.2014, 22:01
Re: Variable Help - by sammp - 29.07.2014, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)