further rule fixes, reduces bc rate to 50

This commit is contained in:
Damen 2019-04-18 00:24:12 -04:00
parent a35521c324
commit f827f3bb89
3 changed files with 14 additions and 29 deletions

View File

@ -384,7 +384,7 @@ stock BreakPlayerCuffs( playerid )
}
else p_BobbyPins[ playerid ] --;
new probability = 75; // success rate probability
new probability = 50; // success rate probability
if ( random( 101 ) <= probability )
{

View File

@ -8,11 +8,16 @@
/* ** Includes ** */
#include < YSI\y_hooks >
#if defined SERVER_RULES_URL
/* ** Variables ** */
/* ** Variables ** */
static stock szRules [ 3300 ];
/* ** Commands ** */
CMD:rules( playerid, params[ ] ) {
return ShowPlayerRules( playerid );
}
#if defined SERVER_RULES_URL
/* ** Forwards ** */
public OnRulesHTTPResponse( index, response_code, data[ ] );
@ -31,36 +36,16 @@
return 1;
}
/* ** Commands ** */
CMD:rules( playerid, params[ ] ) {
return ShowPlayerRules( playerid );
}
#endif
/* ** Functions ** */
stock ShowPlayerRules( playerid )
{
#if !defined SERVER_RULES_URL
/*#if !defined SERVER_RULES_URL
#pragma unused playerid
return 1;
#else
format( szRules, sizeof( szRules ),
"1. Show respect to every player on the server, including obeying administrators, or you will be muted.\n
2. Do not spam or flood the chat, otherwise you will be muted.\n
3. Do not impersonate any, whether it's a player, administrator, or the owner. You will be banned.\n
4. Do not cast commands on a person repeatedly to annoy them.\n
5. If you're a law enforcement officer, do not assist criminals or you will be jailed.\n
6. Do not camp exteriors of buildings, spam rockets, OR spam your mini-gun at players with combat vehicles.\n
7. Using water-emitting vehicles and/or effect-emitting weapons on players is considered abuse.\n
8. You must park your personal vehicle near YOUR house portal OR in a parking lot, otherwise your vehicle will be moved OR deleted.\n
9. The scamming limit is $10,000. Scamming higher amounts will have your account banned and truncated.\n
10. Do not question other people's bans, it's not your business!\n
11. Do not farm money, XP, contracts, arrests, OR kills, doing so will result in a ban and truncation.\n
12. Report bugs and glitches to administration or on the forums. Do NOT abuse them or you will be banned.\n
13. Do not use any hacks!\n
14. Administration may suspend users unanimously so long as it is clearly evident and justified."
)
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", szRules, "Okay", "" ), 1;
#endif
#endif*/
format( szRules, sizeof( szRules ), "{FFFFFF}1. Show respect to every player on the server, including obeying administrators, or you will be muted.\n2. Do not spam or flood the chat, otherwise you will be muted.\n3. Do not impersonate any, whether it's a player, administrator, or the owner. You will be banned.\n4. Do not cast commands on a person repeatedly to annoy them.\n5. If you're a law enforcement officer, do not assist criminals or you will be jailed.\n6. Do not camp exteriors of buildings, spam rockets, OR spam your mini-gun at players with combat vehicles.\n7. Using water-emitting vehicles and/or effect-emitting weapons on players is considered abuse.\n8. You must park your personal vehicle near YOUR house portal OR in a parking lot, otherwise your vehicle will be moved OR deleted.\n9. The scamming limit is $10,000. Scamming higher amounts will have your account banned and truncated.\n10. Do not question other people's bans, it's not your business!\n11. Do not farm money, XP, contracts, arrests, OR kills, doing so will result in a ban and truncation.\n12. Report bugs and glitches to administration or on the forums. Do NOT abuse them or you will be banned.\n13. Do not use any hacks!\n14. Administration may suspend users unanimously so long as it is clearly evident and justified." );
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", szRules, "Okay", "" ), 1;
}

View File

@ -16,7 +16,7 @@
#pragma option -d3
#pragma dynamic 7200000
//#define DEBUG_MODE
#define DEBUG_MODE
#if defined DEBUG_MODE
#pragma option -d3