18.01.2013, 21:48
Hello everybodies, this is my 231323 map, so.
Screens:
http://imageshack.us/f/822/samp368s.png/
Code with map,gate,and other :
Cmds:
PickupUp :
Enjoy, maybe updates
Screens:
http://imageshack.us/f/822/samp368s.png/
Code with map,gate,and other :
PHP код:
Create3DTextLabel("Welcome to [Vip] May Family", 0xFF0000FF, -1048.4353,-1213.3915,128.8516, 40.0, 0, 0);
a1 = CreatePickup(1318, 2, -1061.3436,-1205.4658,129.7565, -1);
a2 = CreatePickup(1318, 2, 2352.1453,-1181.0251,1027.9766, -1);
DisableInteriorEnterExits();
SetGameModeText("mAhouse");
AddPlayerClass(0, -1058.3375,-1204.6528,129.2065, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(444,1028.5999800,1307.8000500,11.7000000,0.0000000,132,148); //Monster
AddStaticVehicle(444,1034.3000500,1308.0000000,11.7000000,0.0000000,132,148); //Monster
AddStaticVehicle(541,1064.5000000,1306.4000200,10.5000000,180.0000000,109,24); //Bullet
AddStaticVehicle(541,1068.0000000,1306.6999500,10.5000000,180.0000000,109,24); //Bullet
AddStaticVehicle(411,1064.5999800,1284.0999800,10.6000000,0.0000000,164,167); //Infernus
AddStaticVehicle(411,1069.0999800,1284.0000000,10.6000000,0.0000000,164,167); //Infernus
AddStaticVehicle(502,-1058.6999500,-1195.5999800,129.1000100,270.0000000,22,34); //Hotring Racer A
AddStaticVehicle(444,-1037.8000500,-1189.3000500,128.2000000,90.0000000,132,148); //Monster
AddStaticVehicle(429,-1038.4000200,-1196.0000000,129.0000000,90.0000000,93,126); //Banshee
AddStaticVehicle(541,-1038.0999800,-1205.0000000,128.8999900,92.0000000,156,156); //Bullet
AddStaticVehicle(541,-1037.6999500,-1211.0000000,128.8999900,92.0000000,156,156); //Bullet
AddStaticVehicle(522,-1038.5999800,-1200.1999500,128.8999900,90.0000000,132,4); //NRG-500
AddStaticVehicle(411,-1052.5999800,-1189.9000200,128.8000000,180.0000000,89,110); //Infernus
CreateObject(3524,1061.9000200,1357.4000200,12.7000000,0.0000000,0.0000000,0.0000000); //object(skullpillar01_lvs) (1)
CreateObject(3524,1072.9000200,1357.4000200,12.7000000,0.0000000,0.0000000,0.0000000); //object(skullpillar01_lvs) (3)
CreateObject(3749,1067.4000200,1361.3000500,15.5000000,0.0000000,0.0000000,0.0000000); //object(clubgate01_lax) (1)
CreateObject(1652,1061.9000200,1345.1999500,10.5000000,0.0000000,0.0000000,90.0000000); //object(fencehaiti) (1)
CreateObject(1652,1072.9000200,1344.5999800,10.5000000,0.0000000,0.0000000,270.0000000); //object(fencehaiti) (2)
CreateObject(1652,1066.9000200,1320.5000000,10.5000000,0.0000000,0.0000000,242.0000000); //object(fencehaiti) (3)
CreateObject(1652,1049.0999800,1332.4000200,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (5)
CreateObject(1652,1047.4904800,1332.4000200,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (6)
CreateObject(1652,1073.6600300,1309.1999500,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (7)
CreateObject(1652,1084.8900100,1309.1999500,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (8)
CreateObject(1280,1062.1999500,1342.5999800,10.2000000,0.0000000,0.0000000,180.0000000); //object(parkbench1) (1)
CreateObject(1280,1072.5996100,1342.0996100,10.2000000,0.0000000,0.0000000,6.0000000); //object(parkbench1) (2)
CreateObject(1652,1084.8000500,1281.0999800,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (9)
CreateObject(1652,1060.7999300,1281.0997300,10.5000000,0.0000000,0.0000000,0.0000000); //object(fencehaiti) (10)
CreateObject(975,1071.8000500,1362.2000700,11.5000000,0.0000000,0.0000000,0.0000000); //object(columbiangate) (1)
CreateObject(975,1063.0000000,1362.1999500,11.5000000,0.0000000,0.0000000,180.0000000); //object(columbiangate) (2)
CreateObject(987,-1063.0000000,-1186.4000200,128.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1)
CreateObject(987,-1051.1999500,-1186.4000200,128.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (2)
CreateObject(987,-1045.4000200,-1186.4000200,128.2000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (3)
CreateObject(987,-1033.5000000,-1186.3000500,128.2000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (4)
CreateObject(987,-1033.5000000,-1198.3000500,128.2000000,0.0000000,0.0000000,270.0000000); //object(elecfence_bar) (5)
CreateObject(987,-1052.6999500,-1213.5999800,128.2000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (6)
CreateObject(987,-1032.4000200,-1213.6999500,128.2000000,0.0000000,0.0000000,179.9950000); //object(elecfence_bar) (7)
CreateObject(987,-1033.4000200,-1202.0999800,128.2000000,0.0000000,0.0000000,269.9950000); //object(elecfence_bar) (8)
a = CreateObject(975,-1048.4000200,-1213.8000500,129.7000000,0.0000000,0.0000000,0.0000000); //object(columbiangate) (3)
CreateObject(3666,-1061.4000200,-1204.8000500,128.7000000,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (1)
CreateObject(3666,-1061.4000200,-1206.3000500,128.7000000,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (2)
CreateObject(3881,-1041.6999500,-1218.0999800,130.0000000,0.0000000,0.0000000,0.0000000); //object(airsecbooth_sfse) (1)
PHP код:
if (strcmp("/ao", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF000000,"You open the gates!");
MoveObject(a,-1048.4000200,-1213.8000500,100.7000000,10.00);
return 1;
}
if (strcmp("/ac", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF000000,"You close the gates!");
MoveObject(a,-1048.4000200,-1213.8000500,129.7000000,10.00);
return 1;
}
PHP код:
if ( pickupid == a1 )
{
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,2349.1714,-1180.7577,1027.9766);
}
if ( pickupid == a2 )
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1058.3375,-1204.6528,129.2065);
}