Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 2012 unknownMode.
- developer: TOMĖJUS.
- additional: GTAonline Team.
- 2012-01-02 - present.
- http://gta-online.lt 2012.
- CONTACT ME!
- SKYPE ID: tomejus.
- */
- #include <a_samp>
- #include <a_mysql>
- #include <sscanf2>
- #define SQL_HOST "localhost"
- #define SQL_USER "root"
- #define SQL_DB "perfect"
- #define SQL_PASS "rootas"
- enum PlayerInfo
- {
- id,
- job,
- skin,
- money,
- admin,
- wanted,
- interior,
- virtualworld,
- bool:spawned,
- bool:gender,
- bool:security,
- bool:regin,
- bool:logged
- }
- new
- pInfo[ MAX_PLAYERS ][ PlayerInfo ];
- main( )
- {
- print( "unknownMode 2012, http://gta-online.lt" );
- print( "developer - TOMĖJUS" );
- }
- public OnGameModeInit( )
- {
- mysql_debug( 1 );
- mysql_connect( SQL_HOST, SQL_USER, SQL_DB, SQL_PASS );
- AddPlayerClass( 0, -2641.0, 650.0, 50.4, 269.1425, 0, 0, 0, 0, 0, 0 );
- SETUP( );
- OBJECTS( );
- return true;
- }
- public OnGameModeExit( )
- {
- mysql_close( );
- return true;
- }
- public OnPlayerRequestClass( playerid, classid )
- {
- if( !pInfo[ playerid ][ logged ] )
- {
- TogglePlayerSpectating( playerid, true );
- new
- Query[ 256 ];
- format( Query, 256, "SELECT id FROM `profiliai` WHERE Name = '%s' LIMIT 1", GET_NAME( playerid ) );
- mysql_query( Query );
- mysql_store_result( );
- if( mysql_num_rows( ) == 1 )
- {
- new
- idx = mysql_fetch_int( );
- format( Query, 256, "SELECT Security FROM `profiliai` WHERE Name = '%s' LIMIT 1", GET_NAME( playerid ) );
- mysql_query( Query );
- mysql_store_result( );
- if( mysql_fetch_int( ) == 1 )
- {
- format( Query, 256, "SELECT IP from `profiliai` WHERE Name = '%s' LIMIT 1", GET_NAME( playerid ) );
- mysql_query( Query );
- mysql_store_result( );
- new
- opIP[ 17 ],
- pIP[ 17 ];
- mysql_fetch_row_format( opIP );
- GetPlayerIp( playerid, pIP, 17 );
- if( !strcmp( opIP, pIP, true ) )
- {
- pInfo[ playerid ][ id ] = idx;
- LOGIN_DIALOG( playerid );
- }
- else
- {
- ShowPlayerDialog( playerid, 4, DIALOG_STYLE_MSGBOX, "{42D4FC}perfect{00B6E8}Life {FF0000}• KLAIDA", "{FF0000}IP APSAUGA!\n \n\
- {FFFFFF}Atsiprašome, bet jūs {FF0000}negalite{FFFFFF} prisijungti prie šito profilio su šituo IP.\n\
- Šis vartotojas savo profilyje yra aktyvavęs {F0F719}IP apsaugos{FFFFFF} galimybę.\n \n{DBDBDB}Jei jūs esate šio profilio savininkas prašome jūsų prisijungti\n\
- iš kompiuterio kuris buvo naudotas užregistruojant šį profilį.", "Išeiti", "" );
- }
- }
- else
- {
- pInfo[ playerid ][ id ] = idx;
- LOGIN_DIALOG( playerid );
- }
- }
- else
- REGISTER_DIALOG( playerid );
- mysql_free_result( );
- SetPlayerPos( playerid, 1958.3783, 1343.1572, 15.3746 );
- SetPlayerCameraPos( playerid, 1958.3783, 1343.1572, 15.3746 );
- SetPlayerCameraLookAt( playerid, 1958.3783, 1343.1572, 15.3746 );
- }
- return true;
- }
- public OnPlayerConnect(playerid)
- {
- REMOVE_OBJECTS( playerid );
- NULL( playerid );
- return 1;
- }
- public OnPlayerDisconnect( playerid, reason )
- {
- SaveProfile( playerid );
- return true;
- }
- public OnPlayerSpawn( playerid )
- {
- TogglePlayerSpectating( playerid, false );
- pInfo[ playerid ][ spawned ] = true;
- if( !pInfo[ playerid ][ regin ] ) LoadProfile( playerid );
- return true;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- pInfo[ playerid ][ spawned ] = false;
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText( playerid, text[ ] )
- {
- SetPlayerChatBubble( playerid, text, 0xFF0000FF, 5.0, 10000 );
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return true;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch( dialogid )
- {
- case 0:
- {
- if( response )
- {
- new
- Query[ 256 ],
- Password[ 128 ],
- pIP[ 17 ];
- GetPlayerIp( playerid, pIP, 17 );
- sscanf( inputtext, "s[128]", Password );
- mysql_real_escape_string( GET_NAME( playerid ), GET_NAME( playerid ) );
- mysql_real_escape_string( Password, Password );
- format( Query, 256, "INSERT INTO `profiliai` ( Name, Password, IP, PosX, PosY, PosZ ) VALUES ( '%s', '%s', '%s', '-1957.5405', '138.1025', '27.6940' )", GET_NAME( playerid ), Password, pIP );
- mysql_query( Query );
- format( Query, 256, "SELECT id FROM `profiliai` WHERE Name = '%s'", GET_NAME( playerid ) );
- mysql_query( Query );
- mysql_store_result( );
- pInfo[ playerid ][ id ] = mysql_fetch_int( );
- mysql_free_result( );
- pInfo[ playerid ][ logged ] = true;
- pInfo[ playerid ][ regin ] = true;
- GENDER_DIALOG( playerid );
- }
- else
- {
- Kick( playerid );
- }
- }
- case 1:
- {
- if( response )
- {
- new
- Query[ 256 ];
- mysql_real_escape_string( GET_NAME( playerid ), GET_NAME( playerid ) );
- mysql_real_escape_string( inputtext, inputtext );
- format( Query, 256, "SELECT * FROM `profiliai` WHERE Name = '%s' AND Password = '%s' LIMIT 1", GET_NAME( playerid ), inputtext );
- mysql_query( Query );
- mysql_store_result( );
- if( mysql_num_rows( ) == 1 )
- {
- pInfo[ playerid ][ logged ] = true;
- SpawnPlayer( playerid );
- }
- else
- {
- // not logged.
- }
- mysql_free_result( );
- }
- else
- {
- Kick( playerid );
- }
- }
- case 2:
- {
- if( response )
- {
- }
- else
- {
- pInfo[ playerid ][ gender ] = true;
- }
- SECURITY_DIALOG( playerid );
- }
- case 3:
- {
- if( response )
- {
- pInfo[ playerid ][ security ] = true;
- }
- CHARACTER_DIALOG( playerid );
- }
- case 4:
- {
- if( response )
- {
- Kick( playerid );
- }
- }
- }
- return true;
- }
- public OnPlayerClickPlayer( playerid, clickedplayerid, source )
- {
- return 1;
- }
- stock SaveProfile( playerid )
- {
- if( pInfo[ playerid ][ logged ] )
- {
- new
- Query[ 256 ],
- idx = pInfo[ playerid ][ id ];
- if( pInfo[ playerid ][ spawned ] )
- {
- new
- Float:pPos[ 3 ];
- GetPlayerPos( playerid, pPos[ 0 ], pPos[ 1 ], pPos[ 2 ] );
- format( Query, 256, "UPDATE `profiliai` SET `PosX` = '%f', `PosY` = '%f', `PosZ` = '%f' WHERE ( `id` = '%i' )", pPos[ 0 ], pPos[ 1 ], pPos[ 2 ], idx );
- }
- else
- {
- format( Query, 256, "UPDATE `profiliai` SET `PosX` = '-2641.0', `PosY` = '650.0', `PosZ` = '50.4', WHERE ( `id` = '%i' )", idx );
- }
- mysql_query( Query );
- AC_GivePlayerMoney( playerid, 0 );
- format( Query, 256, "UPDATE `profiliai` SET `Security` = '%i', `Money` = '%i', `Job` = '%i', `Gender` = '%i' WHERE ( `id` = '%i' )", pInfo[ playerid ][ security ], AC_GetPlayerMoney( playerid ), pInfo[ playerid ][ job ], pInfo[ playerid ][ gender ], idx );
- mysql_query( Query );
- }
- }
- stock LoadProfile( playerid )
- {
- new
- Query[ 256 ],
- fetch[ 9 ],
- Float:pPos[ 3 ],
- tempInt;
- format( Query, 256, "SELECT * FROM `profiliai` WHERE `id` = '%i'", pInfo[ playerid ][ id ] );
- mysql_query( Query );
- mysql_store_result( );
- mysql_retrieve_row( );
- mysql_fetch_field_row( fetch, "PosX" );
- pPos[ 0 ] = floatstr( fetch );
- mysql_fetch_field_row( fetch, "PosY" );
- pPos[ 1 ] = floatstr( fetch );
- mysql_fetch_field_row( fetch, "PosZ" );
- pPos[ 2 ] = floatstr( fetch );
- mysql_fetch_field_row( fetch, "Money" ); tempInt = strval( fetch );
- AC_GivePlayerMoney( playerid, tempInt );
- mysql_fetch_field_row( fetch, "Job" ); tempInt = strval( fetch );
- pInfo[ playerid ][ job ] = tempInt;
- mysql_fetch_field_row( fetch, "Gender" ); tempInt = strval( fetch );
- if( tempInt ) pInfo[ playerid ][ gender ] = true;
- mysql_fetch_field_row( fetch, "Security" ); tempInt = strval( fetch );
- if( tempInt ) pInfo[ playerid ][ security ] = true;
- SetPlayerPos( playerid, pPos[ 0 ], pPos[ 1 ], pPos[ 2 ] + 0.50 );
- }
- stock REGISTER_DIALOG( playerid )
- {
- ShowPlayerDialog( playerid, 0, DIALOG_STYLE_PASSWORD, "{42D4FC}perfect{00B6E8}Life {FF0000}• REGISTRACIJA", "{FFFFFF}Labas,\n \n\
- Malonu, kad pasirinkai {42D4FC}perfect{00B6E8}Life {FFFFFF}serverį.\nTačiau, norėdamas(-a) čia žaisti jūs turite užsiregistruoti.\n \n\
- {DBDBDB}Žemiau įveskite savo sugalvotą slaptažodį:", "Tęsti", "Ačiū, ne" );
- }
- stock LOGIN_DIALOG( playerid )
- {
- ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD, "{42D4FC}perfect{00B6E8}Life {FF0000}• PRISIJUNGIMAS", "{FFFFFF}Sveikas sugrįžes(-usi),\n \n\
- Tikimės, kad laikas serveryje neprailgs,\no bus kupinas nuotykių, bet prieš tai turite prisijungti.\n \n\
- {DBDBDB}Žemiau įveskite savo profilio slaptažodį:", "Tęsti", "Ačiū, ne" );
- }
- stock GENDER_DIALOG( playerid )
- {
- ShowPlayerDialog( playerid, 2, DIALOG_STYLE_MSGBOX, "{42D4FC}perfect{00B6E8}Life {FF0000}• KONFIGURACIJA", "{FFFFFF}Sėkmingai užsiregistravote!\n \n\
- Sėkmingai užsiregistravote {42D4FC}perfect{00B6E8}Life{FFFFFF} serveryje,\nDabar susikonfiguruokite savo profilį. (a.k.a „account“).\n \n\
- {DBDBDB}Žemiau pasirinkite savo lytį:", "Vyras", "Moteris" );
- }
- stock SECURITY_DIALOG( playerid )
- {
- ShowPlayerDialog( playerid, 3, DIALOG_STYLE_MSGBOX, "{42D4FC}perfect{00B6E8}Life {FF0000}• KONFIGURACIJA", "{FFFFFF}Lytis pasirinkta!\n \n\
- {42D4FC}perfect{00B6E8}Life{FFFFFF} serveriui labai rūpi saugumas, todėl serveryje galima įjungti IP apsaugą.\n{FF0000}Kas ta „IP“ apsauga?:\n\
- {FFFFFF}IP apsauga leis prisijungti prie serverio tik su tuo IP kuris buvo panaudotas užsiregistruojant.\n \n\
- {DBDBDB}Žemiau pasirinkite ar norite įjungti IP apsaugą:", "Taip", "Ne" );
- }
- stock CHARACTER_DIALOG( playerid )
- {
- SpawnPlayer( playerid );
- }
- stock NULL( playerid )
- {
- pInfo[ playerid ][ id ] = 0;
- pInfo[ playerid ][ job ] = 0;
- pInfo[ playerid ][ regin ] = false;
- pInfo[ playerid ][ logged ] = false;
- pInfo[ playerid ][ gender ] = false;
- pInfo[ playerid ][ spawned ] = false;
- pInfo[ playerid ][ security ] = false;
- }
- stock GET_NAME( playerid )
- {
- new
- playerName[ MAX_PLAYER_NAME ];
- GetPlayerName( playerid, playerName, MAX_PLAYER_NAME );
- return playerName;
- }
- stock AC_GetPlayerMoney( playerid )
- {
- return pInfo[ playerid ][ money ];
- }
- stock AC_ResetPlayerMoney( playerid )
- {
- pInfo[ playerid ][ money ] = 0;
- ResetPlayerMoney( playerid );
- }
- stock AC_GivePlayerMoney( playerid, gmoney )
- {
- new
- rmoney = GetPlayerMoney( playerid );
- if( rmoney < pInfo[ playerid ][ money ] && rmoney > -1 )
- {
- pInfo[ playerid ][ money ] = rmoney;
- }
- pInfo[ playerid ][ money ] += gmoney;
- ResetPlayerMoney( playerid );
- GivePlayerMoney( playerid, pInfo[ playerid ][ money ] );
- }
- stock SETUP( )
- {
- SetGameModeText ( "unknownMode 0.1 alpha" );
- DisableInteriorEnterExits ( );
- EnableStuntBonusForAll ( false );
- ManualVehicleEngineAndLights( );
- ShowPlayerMarkers ( 0 );
- SetNameTagDrawDistance ( 12.0 );
- }
- stock REMOVE_OBJECTS( playerid )
- {
- //Los Santos
- RemoveBuildingForPlayer(playerid, 956, 1634.1487,-2238.2810,13.5077, 20.0); //Snack vender @ LS Airport
- RemoveBuildingForPlayer(playerid, 956, 2480.9885,-1958.5117,13.5831, 20.0); //Snack vender @ Sushi Shop in Willowfield
- RemoveBuildingForPlayer(playerid, 955, 1729.7935,-1944.0087,13.5682, 20.0); //Sprunk machine @ Unity Station
- RemoveBuildingForPlayer(playerid, 955, 2060.1099,-1898.4543,13.5538, 20.0); //Sprunk machine opposite Tony's Liqour in Willowfield
- RemoveBuildingForPlayer(playerid, 955, 2325.8708,-1645.9584,14.8270, 20.0); //Sprunk machine @ Ten Green Bottles
- RemoveBuildingForPlayer(playerid, 955, 1153.9130,-1460.8893,15.7969, 20.0); //Sprunk machine @ Market
- RemoveBuildingForPlayer(playerid, 955,1788.3965,-1369.2336,15.7578, 20.0); //Sprunk machine in Downtown Los Santos
- RemoveBuildingForPlayer(playerid, 955, 2352.9939,-1357.1105,24.3984, 20.0); //Sprunk machine @ Liquour shop in East Los Santos
- RemoveBuildingForPlayer(playerid, 1775, 2224.3235,-1153.0692,1025.7969, 20.0); //Sprunk machine @ Jefferson Motel
- RemoveBuildingForPlayer(playerid, 956, 2140.2566,-1161.7568,23.9922, 20.0); //Snack machine @ pick'n'go market in Jefferson
- RemoveBuildingForPlayer(playerid, 956, 2154.1199,-1015.7635,62.8840, 20.0); //Snach machine @ Carniceria El Pueblo in Las Colinas
- RemoveBuildingForPlayer(playerid, 956, 662.5665,-551.4142,16.3359, 20.0); //Snack vender at Dillimore Gas Station
- RemoveBuildingForPlayer(playerid, 955, 200.2010,-107.6401,1.5513, 20.0); //Sprunk machine @ Blueberry Safe House
- RemoveBuildingForPlayer(playerid, 956, 2271.4666,-77.2104,26.5824, 20.0); //Snack machine @ Palomino Creek Library
- RemoveBuildingForPlayer(playerid, 955, 1278.5421,372.1057,19.5547, 20.0); //Sprunk machine @ Papercuts in Montgomery
- RemoveBuildingForPlayer(playerid, 955, 1929.5527,-1772.3136,13.5469, 20.0); //Sprunk machine @ Idlewood Gas Station
- //San Fierro
- RemoveBuildingForPlayer(playerid, 1302, -2419.5835,984.4185,45.2969, 20.0); //Soda machine 1 @ Juniper Hollow Gas Station
- RemoveBuildingForPlayer(playerid, 1209, -2419.5835,984.4185,45.2969, 20.0); //Soda machine 2 @ Juniper Hollow Gas Station
- RemoveBuildingForPlayer(playerid, 956, -2229.2075,287.2937,35.3203, 20.0); //Snack vender @ King's Car Park
- RemoveBuildingForPlayer(playerid, 955, -1349.3947,493.1277,11.1953, 20.0); //Sprunk machine @ SF Aircraft Carrier
- RemoveBuildingForPlayer(playerid, 956, -1349.3947,493.1277,11.1953, 20.0); //Snack vender @ SF Aircraft Carrier
- RemoveBuildingForPlayer(playerid, 955, -1981.6029,142.7232,27.6875, 20.0); //Sprunk machine @ Cranberry Station
- RemoveBuildingForPlayer(playerid, 955, -2119.6245,-422.9411,35.5313, 20.0); //Sprunk machine 1/2 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2097.3696,-397.5220,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2068.5593,-397.5223,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2039.8802,-397.5214,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2011.1403,-397.5225,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2005.7861,-490.8688,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2034.5267,-490.8681,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2063.1875,-490.8687,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- RemoveBuildingForPlayer(playerid, 955, -2091.9780,-490.8684,35.5313, 20.0); //Sprunk machine 3 @ SF Stadium
- //Las Venturas
- RemoveBuildingForPlayer(playerid, 956, -1455.1298,2592.4138,55.8359, 20.0); //Snack vender @ El Quebrados GONE
- RemoveBuildingForPlayer(playerid, 955, -252.9574,2598.9048,62.8582, 20.0); //Sprunk machine @ Las Payasadas GONE
- RemoveBuildingForPlayer(playerid, 956, -252.9574,2598.9048,62.8582, 20.0); //Snack vender @ Las Payasadas GONE
- RemoveBuildingForPlayer(playerid, 956, 1398.7617,2223.3606,11.0234, 20.0); //Snack vender @ Redsands West GONE
- RemoveBuildingForPlayer(playerid, 955, -862.9229,1537.4246,22.5870, 20.0); //Sprunk machine @ The Smokin' Beef Grill in Las Barrancas GONE
- RemoveBuildingForPlayer(playerid, 955, -14.6146,1176.1738,19.5634, 20.0); //Sprunk machine @ Fort Carson GONE
- RemoveBuildingForPlayer(playerid, 956, -75.2839,1227.5978,19.7360, 20.0); //Snack vender @ Fort Carson GONE
- RemoveBuildingForPlayer(playerid, 955, 1519.3328,1055.2075,10.8203, 20.0); //Sprunk machine @ LVA Freight Department GONE
- RemoveBuildingForPlayer(playerid, 956, 1659.5096,1722.1096,10.8281, 20.0); //Snack vender near Binco @ LV Airport GONE
- RemoveBuildingForPlayer(playerid, 955, 2086.5872,2071.4958,11.0579, 20.0); //Sprunk machine @ Sex Shop on The Strip
- RemoveBuildingForPlayer(playerid, 955, 2319.9001,2532.0376,10.8203, 20.0); //Sprunk machine @ Pizza co by Julius Thruway (North)
- RemoveBuildingForPlayer(playerid, 955, 2503.2061,1244.5095,10.8203, 20.0); //Sprunk machine @ Club in the Camels Toe
- RemoveBuildingForPlayer(playerid, 956, 2845.9919,1294.2975,11.3906, 20.0); //Snack vender @ Linden Station
- //Interiors: 24/7 and Clubs
- RemoveBuildingForPlayer(playerid, 1775, 496.0843,-23.5310,1000.6797, 20.0); //Sprunk machine 1 @ Club in Camels Toe
- RemoveBuildingForPlayer(playerid, 1775, 501.1219,-2.1968,1000.6797, 20.0); //Sprunk machine 2 @ Club in Camels Toe
- RemoveBuildingForPlayer(playerid, 1776, 501.1219,-2.1968,1000.6797, 20.0); //Snack vender @ Club in Camels Toe
- RemoveBuildingForPlayer(playerid, 1775, -19.2299,-57.0460,1003.5469, 20.0); //Sprunk machine @ Roboi's type 24/7 stores
- RemoveBuildingForPlayer(playerid, 1776, -35.9012,-57.1345,1003.5469, 20.0); //Snack vender @ Roboi's type 24/7 stores
- RemoveBuildingForPlayer(playerid, 1775, -17.0036,-90.9709,1003.5469, 20.0); //Sprunk machine @ Other 24/7 stores
- RemoveBuildingForPlayer(playerid, 1776, -17.0036,-90.9709,1003.5469, 20.0); //Snach vender @ Others 24/7 stores
- }
- stock OBJECTS( )
- {
- /*
- Hospital,
- Author - Audiophr3a
- */
- CreateObject(18030,-2636.16,660,52.6,0.0,0.0,0.0); // Hospital
- CreateObject(3851,-2643.2,649.6,52.24,0.0,0.0,0.0); // Hospital glass wall 1
- CreateObject(3851,-2649.16,655.55,52.24,0.0,0.0,90.0); // Hospital glass wall 2
- CreateObject(16500,-2653.02,655.55,52.23,90.0,0.0,270.0); // Hospital wall dinning room 1
- CreateObject(16500,-2658.52,655.55,52.23,90.0,0.0,270.0); // Hospital wall dinning room 2
- CreateObject(3851,-2659.31,655.55,54.74,0.0,0.0,90.0); // Hospital dinning room door window
- CreateObject(1523,-2656.55,655.516,50.23,0.0,0.0,0.0); // Hospital dinning room door
- CreateObject(1808,-2652.3,655.86,50.23,0.0,0.0,180.0); // Hospital water cooler
- CreateObject(1649,-2619.61,655.52,52,0.0,0.0,270.0); // Hospital window
- CreateObject(1500,-2641.98,646.12,50.226,0.0,0.0,0.0); // Hospital main door
- CreateObject(2949,-2621.93,657.5,50.33,0.0,0.0,90.0); // Hospital locked door
- CreateObject(1523,-2621.98,653.51,50.442,0.0,0.0,0.0); // Hospital toilet door
- CreateObject(2528,-2623.02,653,50.452,0.0,0.0,90.0); // Hospital toilet
- CreateObject(2517,-2622.024,651.06,50.446,0.0,0.0,90.0); // Hospital shower
- CreateObject(2523,-2620.126,651.67,50.448,0.0,0.0,270.0); // Hospital sink
- CreateObject(16500,-2659.04,664.89,52.23,0.0,0.0,90.0); // Hospital wall 1
- CreateObject(16500,-2652.53,664.89,52.23,0.0,0.0,90.0); // Hospital wall 2
- CreateObject(16500,-2646.03,664.89,52.23,0.0,0.0,90.0); // Hospital wall 3
- CreateObject(16500,-2636.39,664.89,52.23,0.0,0.0,90.0); // Hospital wall 4
- CreateObject(16500,-2629.9,664.89,52.23,0.0,0.0,90.0); // Hospital wall 5
- CreateObject(16500,-2623.4,664.89,52.23,0.0,0.0,90.0); // Hospital wall 6
- CreateObject(16500,-2637.42,655.55,52.23,90.0,0.0,270.0); // Hospital surgery wall 1
- CreateObject(16500,-2633.42,655.55,52.23,90.0,0.0,270.0); // Hospital surgery wall 2
- CreateObject(16500,-2631.48,653.2,50.246,90.0,0.0,180.0); // Hospital surgery wall 3
- CreateObject(16500,-2631.48,647.688,52.48,90.0,0.0,180.0); // Hospital surgery wall 4
- CreateObject(16500,-2631.48,652.19,56.238,0.0,0.0,180.0); // Hospital surgery wall 5
- CreateObject(16500,-2639.232,652.7,52.23,0.0,0.0,0.0); // Hospital surgery wall 6
- CreateObject(16500,-2639.232,652.7,56.23,0.0,0.0,0.0); // Hospital surgery wall 7
- CreateObject(16500,-2639.232,647.7,52.23,0.0,0.0,0.0); // Hospital surgery wall 8
- CreateObject(16500,-2639.232,647.7,56.23,0.0,0.0,0.0); // Hospital surgery wall 9
- CreateObject(3851,-2631.48,649.74,54.74,0.0,0.0,0.0); // Hospital surgery window
- CreateObject(16500,-2650.92,667.742,52.23,0.0,0.0,0.0); // Hospital wall 1a
- CreateObject(16500,-2650.92,672.742,52.23,0.0,0.0,0.0); // Hospital wall 1b
- CreateObject(16500,-2643.176,667.742,52.23,0.0,0.0,180.0); // Hospital wall 2a
- CreateObject(16500,-2643.176,672.742,52.23,0.0,0.0,180.0); // Hospital wall 2b
- CreateObject(16500,-2639.232,667.742,52.23,0.0,0.0,0.0); // Hospital wall 3a
- CreateObject(16500,-2639.232,672.742,52.23,0.0,0.0,0.0); // Hospital wall 3b
- CreateObject(16500,-2631.48,667.742,52.23,0.0,0.0,180.0); // Hospital wall 4a
- CreateObject(16500,-2631.48,672.742,52.23,0.0,0.0,180.0); // Hospital wall 4b
- CreateObject(3851,-2650.92,671.34,56.23,0.0,0.0,0.0); // Hospital wall window 1
- CreateObject(3851,-2643.18,671.34,56.23,0.0,0.0,0.0); // Hospital wall window 2
- CreateObject(3851,-2639.22,671.34,56.23,0.0,0.0,0.0); // Hospital wall window 3
- CreateObject(3851,-2631.48,671.34,56.23,0.0,0.0,0.0); // Hospital wall window 4
- CreateObject(1812,-2656.8,671.46,50.22,0.0,0.0,0.0); // Hospital bed 1
- CreateObject(1812,-2652.6,671.46,50.22,0.0,0.0,0.0); // Hospital bed 2
- CreateObject(1812,-2649.23,671.46,50.22,0.0,0.0,0.0); // Hospital bed 3
- CreateObject(1812,-2644.6,671.46,50.22,0.0,0.0,0.0); // Hospital bed 4
- CreateObject(1812,-2637.86,671.46,50.22,0.0,0.0,0.0); // Hospital bed 5
- CreateObject(1812,-2632.8,671.46,50.22,0.0,0.0,0.0); // Hospital bed 6
- CreateObject(1812,-2629.84,671.46,50.22,0.0,0.0,0.0); // Hospital bed 7
- CreateObject(1812,-2625.62,671.46,50.22,0.0,0.0,0.0); // Hospital bed 8
- CreateObject(2134,-2655.46,673.45,50.23,0.0,0.0,0.0); // Hospital bed table1
- CreateObject(2134,-2653.96,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 2
- CreateObject(2134,-2647.9,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 3
- CreateObject(2134,-2645.93,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 4
- CreateObject(2134,-2636.5,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 5
- CreateObject(2134,-2634.17,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 6
- CreateObject(2134,-2628.5,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 7
- CreateObject(2134,-2626.97,673.45,50.23,0.0,0.0,0.0); // Hospital bed table 8
- CreateObject(1726,-2634.34,656.2,50.22,0.0,0.0,180.0); // Hospital couch 1
- CreateObject(1726,-2624.9,662.2,50.22,0.0,0.0,270.0); // Hospital couch 2
- CreateObject(1726,-2657.5,660.1,50.22,0.0,0.0,90.0); // Hospital couch 3
- CreateObject(1703,-2654,654.92,50.23,0.0,0.0,0.0); // Hospital dinning couch 1
- CreateObject(1703,-2657.5,648.82,50.23,0.0,0.0,90.0); // Hospital dinning couch 2
- CreateObject(1704,-2654.88,647.76,50.23,0.0,0.0,180.0); // Hospital dinning chair
- CreateObject(2596,-2650.894,647.16,53,0.0,0.0,180.0); // Hospital dinning TV
- CreateObject(1727,-2653.82,664.2,50.22,0.0,0.0,0.0); // Hospital chair 1
- CreateObject(1727,-2629.59,664.2,50.22,0.0,0.0,0.0); // Hospital chair 2
- CreateObject(3851,-2656.5,664.895,54.74,0.0,0.0,90.0); // Hospital door windows 1
- CreateObject(3851,-2648.57,664.895,54.74,0.0,0.0,90.0); // Hospital door windows 2
- CreateObject(3851,-2633.84,664.895,54.74,0.0,0.0,90.0); // Hospital door windows 3
- CreateObject(3851,-2625.92,664.895,54.74,0.0,0.0,90.0); // Hospital door windows 4
- CreateObject(1523,-2655.01,664.924,50.23,0.0,0.0,180.0); // Hospital door 1
- CreateObject(1523,-2648.51,664.924,50.23,0.0,0.0,180.0); // Hospital door 2
- CreateObject(1523,-2632.36,664.924,50.23,0.0,0.0,180.0); // Hospital door 3
- CreateObject(1523,-2625.87,664.924,50.23,0.0,0.0,180.0); // Hospital door 3
- CreateObject(1523,-2631.51,651.226,50.23,0.0,0.0,270.0); // Hospital surgery door
- CreateObject(1997,-2635.36,652.5,50.23,0.0,0.0,0.0); // Hospital surgery bed
- CreateObject(3383,-2635.35,647.9,50.23,0.0,0.0,0.0); // Hospital surgery table
- CreateObject(3396,-2638.53,653.3,50.23,0.0,0.0,180.0); // Hospital surgery computer
- CreateObject(1671,-2637.4,653.9,50.7,0.0,0.0,300.0); // Hospital surgery chair
- CreateObject(3394,-2632.17,653.13,50.23,0.0,0.0,0.0); // Hospital surgery table 2
- CreateObject(3388,-2635.36,654.94,50.23,0.0,0.0,90.0); // Hospital surgery machine
- CreateObject(2146,-2629.4,647.8,50.72,0.0,0.0,270.0); // Hospital roller table 1
- CreateObject(2146,-2630.8,653.2,50.72,0.0,0.0,0.0); // Hospital roller table 2
- CreateObject(2146,-2625.5,648.2,50.72,0.0,0.0,135.0); // Hospital roller table 3
- CreateObject(1369,-2625,652.8,50.84,0.0,0.0,270.0); // Hospital wheel chair
- CreateObject(2266,-2635.36,656.14,52.74,0.0,0.0,180.0); // Hospital picture 1
- CreateObject(2258,-2624.362,661.16,53.2,0.0,0.0,270.0); // Hospital picture 2
- CreateObject(2276,-2657.55,661.15,52.8,0.0,0.0,90.0); // Hospital picture 3
- CreateObject(2263,-2641.21,673.46,52.64,0.0,0.0,0.0); // Hospital picture 4
- CreateObject(2011,-2645.43,664.2,50.23,0.0,0.0,0.0); // Hospital palm 1
- CreateObject(2011,-2637,664.2,50.23,0.0,0.0,0.0); // Hospital palm 2
- CreateObject(2684,-2639.24,664.5,52,0.0,0.0,0.0); // Hospital paper
- CreateObject(2009,-2640.1,666,50.23,0.0,0.0,180.0); // Hospital CPU
- CreateObject(1671,-2641.07,666.3,50.7,0.0,0.0,0.0); // Hospital cabinet chair
- CreateObject(2608,-2642.85,666.32,51.68,0.0,0.0,90.0); // Hospital docs
- CreateObject(2024,-2655.86,650.35,50.23,0.0,0.0,270.0); // Hospital dinning table
- CreateObject(2826,-2655.6,649.8,50.764,0.0,0.0,0.0); // Hospital magazines
- CreateObject(2251,-2657.7,647.4,51.08,0.0,0.0,180.0); // Hospital dinning room flower
- CreateObject(2010,-2657.5,664.2,50.23,0.0,0.0,0.0); // Hospital flower 1
- CreateObject(2010,-2625.04,664.2,50.23,0.0,0.0,0.0); // Hospital flower 2
- CreateObject(2670,-2620.9,652.8,50.54,0.0,0.0,0.0); // Hospital toilet trash
- CreateObject(16500,-2643.19,652.7,56.23,0.0,0.0,180.0); // Hospital dinning wall 1b
- CreateObject(16500,-2643.19,647.7,56.23,0.0,0.0,180.0); // Hospital dinning wall 2b
- CreateObject(1432,-2645.2,649.2,50.34,0.0,0.0,180.0); // Hospital dinning table 1
- CreateObject(1432,-2649,649.2,50.34,0.0,0.0,180.0); // Hospital dinning table 2
- CreateObject(1432,-2645.2,653.5,50.34,0.0,0.0,0.0); // Hospital dinning table 3
- CreateObject(1432,-2649,653.5,50.34,0.0,0.0,0.0); // Hospital dinning table 4
- CreateObject(2267,-2658.02,649.85,53.2,0.0,0.0,90.0); // Hospital dinning picture
- CreateObject(2834,-2641.71,646.9,50.23,0.0,0.0,0.0); // Hospital carpet
- CreateObject(2007,-2641.21,673.42,50.23,0.0,0.0,0.0); // Hospital wardrobe
- CreateObject(2887,-2635.36,652.08,55.6,264.0,0.0,0.0); // Hospital surgery lamp
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement