[NEED]Bonus Code FS [+ rep]
#2

You will need to know how to use:
- OnPlayerCommandText
- - This is where you'll put the two commands.
- strcmp
- - This is where you'll check the commands, it's also where you'll check the "bonus code".
- sscanf
- - Used for admins to type the playerid and the bonus code for the player.
- IsPlayerAdmin
- - Self explanitory.
- ShowPlayerDialog
- - This is where you will either display DIALOG_STYLE_INPUT or DIALOG_STYLE_PASSWORD for the player to type in the "bonus code".
- OnPlayerDialogResponse
- - This is where you'll use strcmp to check the bonus code the player type is correct.

And that's about it, give me a few minutes and I'll have it done for you if you're too lazy to learn Pawn.
Reply


Messages In This Thread
[NEED]Bonus Code FS [+ rep] - by feartonyb - 19.04.2012, 16:11
Re: [NEED]Bonus Code FS [+ rep] - by TheLazySloth - 19.04.2012, 16:20
Re: [NEED]Bonus Code FS [+ rep] - by feartonyb - 22.04.2012, 07:43
Re: [NEED]Bonus Code FS [+ rep] - by seanny - 22.04.2012, 07:45

Forum Jump:


Users browsing this thread: 1 Guest(s)