cash card requires email

This commit is contained in:
Lorenc Pekaj 2018-04-20 15:38:28 +10:00
parent 94aaa471b2
commit 1fcda6b37e

View File

@ -14,6 +14,7 @@
CMD:redeemcashcard( playerid, params[ ] ) return cmd_cashcard( playerid, params ); CMD:redeemcashcard( playerid, params[ ] ) return cmd_cashcard( playerid, params );
CMD:cashcard( playerid, params[ ] ) CMD:cashcard( playerid, params[ ] )
{ {
if ( ! IsPlayerEmailVerified( playerid ) ) return SendError( playerid, "This feature is accessible only to players that have an "COL_GREY"/email"COL_WHITE" on their account." );
ShowPlayerDialog( playerid, DIALOG_CASH_CARD, DIALOG_STYLE_INPUT, ""COL_GREEN"Redeem Cash Card", ""COL_WHITE"Redeem your cash card by entering the code down below:", "Redeem", "Cancel" ); ShowPlayerDialog( playerid, DIALOG_CASH_CARD, DIALOG_STYLE_INPUT, ""COL_GREEN"Redeem Cash Card", ""COL_WHITE"Redeem your cash card by entering the code down below:", "Redeem", "Cancel" );
return 1; return 1;
} }