From 7b6c266604d7701d51a7b224ef19be3e44b67db0 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sun, 27 Jan 2019 20:35:22 +1100 Subject: [PATCH] erase huge string for use --- gamemodes/sf-cnr.pwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 2e2c0bf..24fe28f 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -265,7 +265,7 @@ public OnServerUpdateTimer( ) { // AFK Jail if ( p_WantedLevel[ playerid ] >= 6 && p_InHouse[ playerid ] == -1 && !IsPlayerAdminOnDuty( playerid ) && !IsPlayerInEntrance( playerid, g_VIPLounge[ CITY_SF ] ) && !IsPlayerInEntrance( playerid, g_VIPLounge[ CITY_LV ] ) && !IsPlayerInEntrance( playerid, g_VIPLounge[ CITY_LS ] ) && !IsPlayerTied( playerid ) && !IsPlayerKidnapped( playerid ) && !IsPlayerCuffed( playerid ) && !IsPlayerTazed( playerid ) && IsPlayerSpawned( playerid ) ) { // && !IsPlayerDetained( playerid ) - + if ( !AwardNearestLEO( playerid, 1 ) ) { JailPlayer( playerid, 60, 1 ); @@ -5705,6 +5705,7 @@ public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) new bool: has = false; // erase large string for ease + erase( szHugeString ); erase( szLargeString ); // show items