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

I need system which include this:
If I am RCON admin and just I can add a bonus (reward) code and when I give it to someone when he type /bonuscode and open a textdraw (similiar like login) and he should write the code I gave him and if it's correct he get something (score,money...)
Please,I need it bad and sorry for my bad english
Reply
#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
#3

Yea im to lazy can you make it please and send me a link.. Thanks
Reply
#4

Quote:
Originally Posted by feartonyb
Посмотреть сообщение
Yea im to lazy can you make it please and send me a link.. Thanks
We ain't spoon feeding you, learn yourself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)