Merge pull request #62 from Sultan1337/patch-7

Update stocks.pwn
This commit is contained in:
Lorenc Pekaj 2019-07-10 10:09:54 +10:00 committed by GitHub
commit ec22f4be96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -847,7 +847,12 @@ CMD:stockmarkets( playerid, params[ ] )
CMD:shares( playerid, params[ ] )
{
if ( p_accountSecurityData[ playerid ] [ E_ID ] && ! p_accountSecurityData[ playerid ] [ E_VERIFIED ] && p_accountSecurityData[ playerid ] [ E_MODE ] != SECURITY_MODE_DISABLED )
return SendError( playerid, "You must be verified in order to use this feature. "COL_YELLOW"(use /verify)" );
else
{
return ShowPlayerShares( playerid );
}
}
CMD:astock( playerid, params[ ] )