bugfixes
This commit is contained in:
parent
d2d9be73de
commit
cde58d1c67
@ -65,7 +65,10 @@ hook OnPlayerDeathEx( playerid, killerid, reason, Float: damage, bodypart )
|
||||
hook OnPlayerDeath( playerid, killerid, reason )
|
||||
#endif
|
||||
{
|
||||
if ( IsPlayerConnected( killerid ) && p_inPaintBall{ killerid } == true )
|
||||
if ( ! ( 0 <= killerid < MAX_PLAYERS ) ) // ignore invalid id / npc killers
|
||||
return 1;
|
||||
|
||||
if ( p_inPaintBall{ killerid } == true )
|
||||
{
|
||||
new
|
||||
a = p_PaintBallArena{ killerid };
|
||||
|
@ -147,7 +147,7 @@ hook OnScriptInit( )
|
||||
CreatePoolTable( 506.48441, -84.83590, 998.9375, 90.00000, 11, 7 ); // misty's bar
|
||||
|
||||
// custom pool tables
|
||||
CreatePoolTable( -1019.264, 1045.7419, 0.763000, 0.000000, 0, 0, E_SKIN_WOOD_PURPLE ); // panther
|
||||
CreatePoolTable( -1019.264, 1045.7419, 1.763000, 0.000000, 0, 0, E_SKIN_WOOD_PURPLE ); // panther
|
||||
|
||||
printf( "[POOL TABLES]: %d pool tables have been successfully loaded.", Iter_Count( pooltables ) );
|
||||
return 1;
|
||||
|
@ -17,8 +17,9 @@
|
||||
new const
|
||||
g_szCheatNames [ ] [ ] =
|
||||
{
|
||||
"Aimbot (1)", "Aimbot (2)", "Triggerbot (1)", "Triggerbot (2)", "Nametag wallhack (1)", "ESP wallhack (1)", "Macro keybind (1)",
|
||||
"Fake ping (1)", "Weapon info (1)", "No recoil (1)", "No recoil (2)", "Aimbot (3)", "Aimbot (4)", "CLEO"
|
||||
"Aimbot (1)", "Aimbot (2)", "Triggerbot (1)", "Triggerbot (2)", "Nametag wallhack (1)", "ESP (1)", "Macro keybind (1)",
|
||||
"Fake ping (1)", "Weapon info (1)", "No recoil (1)", "No recoil (2)", "Aimbot (3)", "Aimbot (4)", "CLEO", "Aimbot (5)", "Aimbot (6)",
|
||||
"No recoil (3)", "Untrusted (1)", "Untrusted (2)", "Untrusted (3)", "Untrusted (4)"
|
||||
}
|
||||
;
|
||||
|
||||
|
@ -13576,7 +13576,7 @@ public OnPlayerEnterDynamicCP(playerid, checkpointid)
|
||||
}
|
||||
|
||||
// alert burglar of any furniture
|
||||
if ( ! is_owner && p_Job[ playerid ] == JOB_BURGLAR && p_Class[ playerid ] == CLASS_CIVILIAN ) {
|
||||
if ( ! is_owner && p_Job{ playerid } == JOB_BURGLAR && p_Class[ playerid ] == CLASS_CIVILIAN ) {
|
||||
if ( Iter_Count( housefurniture[ i ] ) ) {
|
||||
ShowPlayerHelpDialog( playerid, 4000, "This house has furniture to rob.~n~~n~Type ~g~~h~/burglar steal~w~ near the furniture you want to steal." );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user