(--------------------------------------)
( Mod Yapımcısı TaYFuN01)
(--------------------------------------)
public OnGameModeInit()
CreateObject(8947, -2200.716064, 1630.516602, -26.095659, 0.0000, 0.0000, 11.2500); // Ajan
CreateObject(3996, -2187.957275, 1571.461914, -29.443644, 0.0000, 0.0000, 281.2500);
CreateObject(4654, -2175.543457, 1504.973389, -23.980879, 0.0000, 0.0000, 191.2500);
CreateObject(5185, -2219.238770, 1625.327881, -28.214867, 0.0000, 0.0000, 157.5000);
CreateObject(16113, -2225.511475, 1606.380127, -31.534685, 0.0000, 0.0000, 315.0000);
CreateObject(16113, -2224.987793, 1634.135010, -28.465420, 0.0000, 0.0000, 101.2500);
CreateObject(16113, -2183.503174, 1647.807007, -35.430073, 0.0000, 0.0000, 326.2500);
CreateObject(16112, -2164.885742, 1632.057373, -28.946888, 0.0000, 0.0000, 258.7500);
CreateObject(16112, -2173.976807, 1603.603027, -38.957294, 0.0000, 0.0000, 0.0000);
CreateObject(16112, -2150.717041, 1611.968506, -34.301334, 0.0000, 0.0000, 225.0000);
CreateObject(1468, -2190.839111, 1621.487793, -28.088797, 0.0000, 0.0000, 292.5000);
CreateObject(1468, -2191.413086, 1626.435425, -28.102489, 0.0000, 0.0000, 258.7500);
CreateObject(1468, -2188.357422, 1629.045898, -28.102489, 0.0000, 0.0000, 0.0000);
CreateObject(16662, -2203.012207, 1640.289917, -28.167671, 0.0000, 0.0000, 348.7500);
CreateObject(3397, -2192.764160, 1622.133179, -29.359924, 0.0000, 0.0000, 11.2500);
CreateObject(3396, -2193.334473, 1625.288452, -29.373617, 0.0000, 0.0000, 11.2500);
CreateObject(3395, -2194.030518, 1628.569214, -0.049706, 0.0000, 0.0000, 11.2500);
CreateObject(11631, -2204.784424, 1619.171997, -28.111801, 0.0000, 0.0000, 101.2500);
CreateObject(1963, -2208.128174, 1639.266113, -28.968597, 0.0000, 0.0000, 45.0000);
CreateObject(1963, -2207.832275, 1639.079590, -29.109257, 0.0000, 0.0000, 225.0000);
CreateObject(1963, -2206.893799, 1640.159180, -29.109257, 0.0000, 0.0000, 225.0000);
CreateObject(1963, -2207.933594, 1638.740967, -29.109257, 0.0000, 0.0000, 45.0000);
CreateObject(1963, -2203.304443, 1641.697510, -29.109257, 0.0000, 0.0000, 22.5000);
CreateObject(1963, -2200.266113, 1641.026367, -29.109257, 0.0000, 0.0000, 348.7500);
CreateObject(1963, -2198.907227, 1640.746094, -29.109257, 0.0000, 0.0000, 348.7500);
CreateObject(1963, -2205.058838, 1641.101074, -29.109257, 0.0000, 0.0000, 11.2500);
CreateObject(1963, -2201.921387, 1641.487183, -29.109257, 0.0000, 0.0000, 337.5000);
CreateObject(1963, -2203.662354, 1640.866821, -29.109257, 0.0000, 0.0000, 11.2500);
CreateObject(1963, -2206.066406, 1640.129150, -29.109257, 0.0000, 0.0000, 22.5000);
CreateObject(1963, -2201.917969, 1641.083008, -29.109257, 0.0000, 0.0000, 0.0000);
AddStaticVehicle(522,-2161.1523,1449.2500,-19.0204,10.2143,0,1); //
AddStaticVehicle(522,-2166.4658,1448.2467,-19.0240,14.4771,0,1); //
Kapi3 = CreateObject(8483, -2198.231445, 1617.365723, -24.138227, 0.0000, 0.0000, 281.2500); // Ajan
Kapı Ve Işınlanma Kodu:
if(!strcmp(cmdtext,"/gizliajan",true)) {
SetPlayerPos(playerid, -2163.7920,1448.5781,-18.5923);
SetPlayerSkin(playerid, 163);
GameTextForPlayer(playerid,"Gizli Ajan Oldun!!!",5000,3);
ResetPlayerWeapons(playerid);
SetPlayerArmour(playerid,100);
new Float:X, Float:Y, Float:Z;
PlayerPlaySound(playerid, 1083, X, Y, Z);
return 1;
}
if(strcmp("/ajanac", cmdtext, true) == 0) {
MoveObject(Kapi3,-2198.231445, 1617.365723, -35.138227,2);
SendClientMessage(playerid, 0xAAAAAAAA, "Kapı açılıyor!!!");
return 1;
}
if(strcmp("/ajankapat", cmdtext, true) == 0) {
MoveObject(Kapi3,-2198.231445, 1617.365723, -24.138227,2);
SendClientMessage(playerid, 0xAAAAAAAA, "Kapı kapatılıyor!!!");
return 1;
}
NOT: Tamamen kendi yapımımdır... Alıntı değildir...