Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- enum OInfo
- {
- OB_id,
- Float:OB_X,
- Float:OB_Y,
- Float:OB_Z,
- Float:OB_rX,
- Float:OB_rY,
- Float:OB_rZ
- //Float:OB_DrwDis,
- //Float:OB_active
- }
- new ObjectInfo[][OInfo] = {
- {969,266.314331,80.078887,1000.018554,0.000000,0.000000,90.056121},//LSJailDoor
- {969,266.287902,88.568840,999.785827,0.000000,0.000000,-89.943878},//LSJailDoor
- {969,266.310089,80.115180,999.785827,0.000000,0.000000,-89.943878},//LSJailDoor
- {969,191.583557,177.063446,1001.750976,0.000000,0.000000,0.000000},// LSJail_Door
- {969,200.213989,177.081176,1001.729187,0.000000,0.000000,-180.000000},// LSJail_Door
- {969,200.200836,160.292282,1001.729187,0.000000,0.000000,-180.000000},// LSJail_Door
- {969,196.640533,160.281936,1001.729187,0.000000,0.000000,-180.000000},// LSJail_Door
- {1703,262.950073,76.721015,1000.037292,0.000000,1.687136,1172.039062},//LSPDcouch
- {1703,262.952056,81.266120,1000.037292,0.000000,1.687136,1172.039062},//LSPDcouch
- {1703,262.981506,85.734283,1000.037292,0.000000,1.687136,1172.039062},//LSPDcouch
- {1703,214.238723,108.759788,998.017089,0.000000,0.000000,91.000000},// SFPDcouch
- {1703,218.304428,108.759788,998.017089,0.000000,0.000000,91.000000},// SFPDcouch
- {1703,222.289077,108.779548,998.017089,0.000000,0.000000,91.000000},// SFPDcouch
- {1703,226.175231,108.779548,998.017089,0.000000,0.000000,91.000000},// SFPDcouch
- {1703,214.197525,118.918617,998.017089,0.000000,0.000000,91.000000},// SFPDcouch
- {969,2145.441406,1621.066162,999.965454,0.000000,0.000000,-180.000000},// Casino Gate
- {3361,-1305.966918,480.911987,13.662816,-1.000000,-1.578849,-92.421875},// stair at easter basin
- {3361,-1306.284057,475.116790,10.091542,-1.000000,-1.578849,-92.421875},// stair at easter basin
- {3361,-1306.510986,469.254455,6.382112,-1.000000,-1.578849,-92.421875}// stair at easter basin
- };
- public OnFilterScriptInit()
- {
- //NPC = Non-Playing Characters
- ConnectNPC("[Bot]Robert","npcidle");
- ConnectNPC("[Bot]Peter","npcidle");
- ConnectNPC("[Bot]Harry","npcidle");
- ConnectNPC("[Bot]Jack","npcidle");
- ConnectNPC("[Bot]Aaron","npcidle");
- ConnectNPC("[Bot]Joshua","npcidle");
- ConnectNPC("[Bot]Trevor","train_lv");
- ConnectNPC("[Bot]Gary","train_ls");
- ConnectNPC("[Bot]Paul","train_sf");
- ConnectNPC("[Bot]Qantas","at400_lv");
- ConnectNPC("[Bot]JetStar","at400_sf");
- ConnectNPC("[Bot]Virgin","at400_ls");
- ConnectNPC("[Bot]TramDriver","tram");
- ConnectNPC("[Bot]Rick","npcidle");//SF
- ConnectNPC("[Bot]Charlie","npcidle");//LV
- ConnectNPC("[Bot]Tom","npcidle");//LS
- ConnectNPC("[Bot]Buddy","npcidle");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnGameModeInit()
- {
- for(new i = 0; i < sizeof(ObjectInfo); i++)
- {
- CreateObject(ObjectInfo[i][OB_id],ObjectInfo[i][OB_X],ObjectInfo[i][OB_Y],ObjectInfo[i][OB_Z],ObjectInfo[i][OB_rX],ObjectInfo[i][OB_rY],ObjectInfo[i][OB_rZ],40.0);
- }
- return 1;
- }
- public OnGameModeExit()
- {
- for(new o = 0; o < sizeof(ObjectInfo); o++)
- {
- DestroyObject(o);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment