move object code to static object module

This commit is contained in:
Lorenc Pekaj 2019-01-02 02:53:22 +11:00
parent 1427fc0196
commit 515d399ef8
3 changed files with 3 additions and 7 deletions

View File

@ -12709,6 +12709,7 @@ hook OnScriptInit( )
CreateDynamicObject( 1685, -1752.553588, 59.633178, 866.292968, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1685, -1752.472534, 57.522521, 866.292968, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1748.673706, 4.254638, 867.267089, 0.000000, 0.000000, 0.000000 ), 0, 10631, "queensammo_sfs", "ammu_gunboard3", 1 );
CreateDynamicPickup( 371, 2, -1745.2754, 59.301500, 866.4556 ); // Parachute @Veloxity
// Zach's Buz
CreateDynamicObject( 19834, 2140.468750, -2291.720947, 21.069238, 0.000000, 30.099998, 45.099987 );

View File

@ -448,6 +448,7 @@ hook OnScriptInit( )
CreateDynamicObject(970, -1497.84, 916.18, 6.73, 0.00, 0.00, -180.00);
CreateDynamicObject(970, -1500.02, 920.00, 6.73, 0.00, 0.00, -270.06);
CreateDynamicObject(970, -1497.84, 924.01, 6.73, 0.00, 0.00, -180.00);
SetDynamicObjectMaterialText( CreateDynamicObject( 19353, -1496.6134, 920.0287, 6.0990, 0.0, -90.0, -180 ), 0, "BANK", 100, "Times New Roman", 100, 0, -9170, 0, 1 );
// Police department doors:
CreateDynamicObject(1569, 321.45, 301.96, 998.15, 0.00, 0.00, 0.00);
@ -469,6 +470,7 @@ hook OnScriptInit( )
CreateDynamicObject(1499, -1575.96, 687.99, 6.13, 0.00, 0.00, 0.00);
//Supa - Market
SetDynamicObjectMaterialText( CreateDynamicObject( 7301, -2418.657714, 743.686523, 1058.593750, 0.000000, 0.000000, -44.899974 ), 0, "Use /shop!", 120, "impact", 100, 0, -65536, 0, 1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2443.325927, 756.842773, 1055.205566, 180.000000, 90.000000, 0.000000 ), 0, 12844, "cos_liquorstore", "b_wtilesreflect", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2418.337158, 756.842773, 1055.205566, 180.000000, 90.000000, 0.000000 ), 0, 12844, "cos_liquorstore", "b_wtilesreflect", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2393.337890, 756.842773, 1055.205566, 180.000000, 90.000000, 0.000000 ), 0, 12844, "cos_liquorstore", "b_wtilesreflect", -1 );

View File

@ -108,13 +108,6 @@ public OnGameModeInit()
CreateBillboard( "Saw a cheater? Report him by typing "COL_GREY"/report{FFFFFF}!", -2443.63, 719.970, 37.900, 0.00000 );
CreateBillboard( "You can use "COL_GREY"/vipcmds"COL_WHITE" to view your\nV.I.P commands!", -1958.975830, 841.130798, 1208.881469, -43.700046 );
// Signs - User friendly addition
SetDynamicObjectMaterialText( CreateDynamicObject( 7301, -2418.657714, 743.686523, 1058.593750, 0.000000, 0.000000, -44.899974 ), 0, "Use /shop!", 120, "impact", 100, 0, -65536, 0, 1 );
SetDynamicObjectMaterialText( CreateDynamicObject( 19353, -1496.6134, 920.0287, 6.0990, 0.0, -90.0, -180 ), 0, "BANK", 100, "Times New Roman", 100, 0, -9170, 0, 1 );
/* ** Pickups ** */
CreateDynamicPickup( 371, 2, -1745.2754, 59.301500, 866.4556 ); // Parachute @Veloxity
/* ** Set everyone offline ** */
mysql_single_query( "UPDATE `USERS` SET `ONLINE` = 0" );