update updates.txt ... fix potential issues
This commit is contained in:
parent
0065363f9d
commit
066915d7fe
@ -9888,7 +9888,7 @@ public OnPlayerDriveVehicle( playerid, vehicleid )
|
|||||||
format( szSmallString, sizeof( szSmallString ), "vburg_%d_items", vehicleid );
|
format( szSmallString, sizeof( szSmallString ), "vburg_%d_items", vehicleid );
|
||||||
if ( GetGVarInt( szSmallString ) > 0 )
|
if ( GetGVarInt( szSmallString ) > 0 )
|
||||||
{
|
{
|
||||||
new
|
new
|
||||||
Float: X, Float: Y, Float: Z,
|
Float: X, Float: Y, Float: Z,
|
||||||
Float: pX, Float: pY, Float: pZ;
|
Float: pX, Float: pY, Float: pZ;
|
||||||
|
|
||||||
@ -9898,30 +9898,16 @@ public OnPlayerDriveVehicle( playerid, vehicleid )
|
|||||||
GameTextForPlayer( playerid, "Go to the truck blip on your radar for money!", 3000, 1 );
|
GameTextForPlayer( playerid, "Go to the truck blip on your radar for money!", 3000, 1 );
|
||||||
SendServerMessage( playerid, "Note! You have %d stolen goods that you can export for money!", GetGVarInt( szSmallString ) );
|
SendServerMessage( playerid, "Note! You have %d stolen goods that you can export for money!", GetGVarInt( szSmallString ) );
|
||||||
|
|
||||||
static
|
static
|
||||||
szCity[ MAX_ZONE_NAME ],
|
szCity[ MAX_ZONE_NAME ],
|
||||||
aPlayer[ 1 ];
|
aPlayer[ 1 ];
|
||||||
|
|
||||||
aPlayer[ 0 ] = playerid;
|
aPlayer[ 0 ] = playerid;
|
||||||
DestroyDynamicMapIcon( p_PawnStoreMapIcon[ playerid ] );
|
DestroyDynamicMapIcon( p_PawnStoreMapIcon[ playerid ] );
|
||||||
|
|
||||||
//static ;
|
|
||||||
// San Fierro only
|
|
||||||
// Get2DCity( szCity, g_houseData[ i ] [ E_EX ], g_houseData[ i ] [ E_EY ], g_houseData[ i ] [ E_EZ ] );
|
|
||||||
// if ( ! strmatch( szCity, "San Fierro" ) ) {
|
|
||||||
// ignoredHomes[ i ] = i;
|
|
||||||
// continue;
|
|
||||||
// }
|
|
||||||
|
|
||||||
Get2DCity( szCity, pX, pY, pZ );
|
Get2DCity( szCity, pX, pY, pZ );
|
||||||
|
|
||||||
if ( strmatch( szCity, "San Fierro" ) )
|
if ( strmatch( szCity, "Los Santos" ) )
|
||||||
{
|
|
||||||
X = -2480.2461;
|
|
||||||
Y = 6.0720;
|
|
||||||
Z = 25.6172;
|
|
||||||
}
|
|
||||||
else if ( strmatch( szCity, "Los Santos" ) )
|
|
||||||
{
|
{
|
||||||
X = 2522.1677;
|
X = 2522.1677;
|
||||||
Y = -1717.4137;
|
Y = -1717.4137;
|
||||||
@ -9933,6 +9919,12 @@ public OnPlayerDriveVehicle( playerid, vehicleid )
|
|||||||
Y = 1315.8477;
|
Y = 1315.8477;
|
||||||
Z = 10.6797;
|
Z = 10.6797;
|
||||||
}
|
}
|
||||||
|
else // default SF if not LV and LS
|
||||||
|
{
|
||||||
|
X = -2480.2461;
|
||||||
|
Y = 6.0720;
|
||||||
|
Z = 25.6172;
|
||||||
|
}
|
||||||
|
|
||||||
p_PawnStoreMapIcon[ playerid ] = CreateDynamicMapIconEx( X, Y, Z, 51, 0, MAPICON_GLOBAL, 6000.0, { -1 }, { -1 }, aPlayer );
|
p_PawnStoreMapIcon[ playerid ] = CreateDynamicMapIconEx( X, Y, Z, 51, 0, MAPICON_GLOBAL, 6000.0, { -1 }, { -1 }, aPlayer );
|
||||||
p_PawnStoreExport[ playerid ] = CreateDynamicRaceCP( 1, X, Y, Z, 0.0, 0.0, 0.0, 4.0, -1, -1, playerid );
|
p_PawnStoreExport[ playerid ] = CreateDynamicRaceCP( 1, X, Y, Z, 0.0, 0.0, 0.0, 4.0, -1, -1, playerid );
|
||||||
@ -14395,16 +14387,16 @@ public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
|
|||||||
|
|
||||||
// hits completed
|
// hits completed
|
||||||
case 5: mysql_function_query( dbHandle, "SELECT `NAME`, `CONTRACTS` as `SCORE_VAL` FROM `USERS` ORDER BY `CONTRACTS` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 5 );
|
case 5: mysql_function_query( dbHandle, "SELECT `NAME`, `CONTRACTS` as `SCORE_VAL` FROM `USERS` ORDER BY `CONTRACTS` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 5 );
|
||||||
|
|
||||||
// fires
|
// fires
|
||||||
case 6: mysql_function_query( dbHandle, "SELECT `NAME`, `FIRES` as `SCORE_VAL` FROM `USERS` ORDER BY `FIRES` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 6 );
|
case 6: mysql_function_query( dbHandle, "SELECT `NAME`, `FIRES` as `SCORE_VAL` FROM `USERS` ORDER BY `FIRES` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 6 );
|
||||||
|
|
||||||
// burglaries
|
// burglaries
|
||||||
case 7: mysql_function_query( dbHandle, "SELECT `NAME`, `BURGLARIES` as `SCORE_VAL` FROM `USERS` ORDER BY `BURGLARIES` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 7 );
|
case 7: mysql_function_query( dbHandle, "SELECT `NAME`, `BURGLARIES` as `SCORE_VAL` FROM `USERS` ORDER BY `BURGLARIES` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 7 );
|
||||||
|
|
||||||
// blown jails
|
// blown jails
|
||||||
case 8: mysql_function_query( dbHandle, "SELECT `NAME`, `BLEW_JAILS` as `SCORE_VAL` FROM `USERS` ORDER BY `BLEW_JAILS` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 8 );
|
case 8: mysql_function_query( dbHandle, "SELECT `NAME`, `BLEW_JAILS` as `SCORE_VAL` FROM `USERS` ORDER BY `BLEW_JAILS` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 8 );
|
||||||
|
|
||||||
// blown vaults
|
// blown vaults
|
||||||
case 9: mysql_function_query( dbHandle, "SELECT `NAME`, `BLEW_VAULT` as `SCORE_VAL` FROM `USERS` ORDER BY `BLEW_VAULT` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 9 );
|
case 9: mysql_function_query( dbHandle, "SELECT `NAME`, `BLEW_VAULT` as `SCORE_VAL` FROM `USERS` ORDER BY `BLEW_VAULT` DESC LIMIT 25", true, "OnHighScoreCheck", "ii", playerid, 9 );
|
||||||
|
|
||||||
@ -15853,7 +15845,7 @@ stock GetRandomCreatedHouse( )
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//static szCity[ MAX_ZONE_NAME ];
|
static szCity[ MAX_ZONE_NAME ];
|
||||||
new ignoredHomes[ MAX_HOUSES ] = { -1, ... };
|
new ignoredHomes[ MAX_HOUSES ] = { -1, ... };
|
||||||
|
|
||||||
// first find homes to ignore
|
// first find homes to ignore
|
||||||
@ -15872,11 +15864,11 @@ stock GetRandomCreatedHouse( )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// San Fierro only
|
// San Fierro only
|
||||||
// Get2DCity( szCity, g_houseData[ i ] [ E_EX ], g_houseData[ i ] [ E_EY ], g_houseData[ i ] [ E_EZ ] );
|
Get2DCity( szCity, g_houseData[ i ] [ E_EX ], g_houseData[ i ] [ E_EY ], g_houseData[ i ] [ E_EZ ] );
|
||||||
// if ( ! strmatch( szCity, "San Fierro" ) ) {
|
if ( ! strmatch( szCity, "San Fierro" ) ) {
|
||||||
// ignoredHomes[ i ] = i;
|
ignoredHomes[ i ] = i;
|
||||||
// continue;
|
continue;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
new
|
new
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
(+) "/perks" has been added and is based off your total level.
|
(+) "/perks" has been added and is based off your total level.
|
||||||
(+) Gang bank accounts are charged $500 per spawn in a facility.
|
(+) Gang bank accounts are charged $500 per spawn in a facility.
|
||||||
(+) Picking safe / thermal drill speeds improve if you increase your robbery level.
|
(+) Picking safe / thermal drill speeds improve if you increase your robbery level.
|
||||||
|
(+) Adds an option to disable paintball chatting.
|
||||||
|
(+) You can now preview vehicle components before you buy them.
|
||||||
|
(+) Adds multiple other /highscores including hits, fires, burglaries, blown jails and blown vaults.
|
||||||
|
(+) You can now export burglared items at local pawn stores in LV and LS.
|
||||||
|
(+) Adds /smoke animation.
|
||||||
(/) Passive mode is automatically toggled for every player, use "/passive" to disable it.
|
(/) Passive mode is automatically toggled for every player, use "/passive" to disable it.
|
||||||
(/) Business payouts have been significantly increased (how it was originally).
|
(/) Business payouts have been significantly increased (how it was originally).
|
||||||
(/) You will drop health pickups matching your DM level (10+ DM level only for now).
|
(/) You will drop health pickups matching your DM level (10+ DM level only for now).
|
||||||
|
Loading…
Reference in New Issue
Block a user