Szerző Téma: CP  (Megtekintve 1330 alkalommal)

Alpha

  • Vendég
CP
« Dátum: 2009. november 08. - 16:58:02 »
0 Show voters
Oylat szeretnék ha a TEAM_HUN belemenne egy checkpointba  kiírná magyar csapat gyozottés restartolna a mod
ÉS ha a TEAM_USA 10 percig távol tudná tartani oket akkor ok nyernének
« Utoljára szerkesztve: 2009. november 08. - 17:08:43 írta Alpha »

GroX

  • Vendég
CP
« Válasz #1 Dátum: 2009. november 08. - 18:50:45 »
0 Show voters
Most így fejbol nem tudom, de keress rá a D-day modomra abba bennevan  ;)

Alpha

  • Vendég
CP
« Válasz #2 Dátum: 2009. november 08. - 20:32:51 »
0 Show voters
Nem lelem xD

Nem elérhető Popec16

  • 1267
    • Profil megtekintése
CP
« Válasz #3 Dátum: 2009. november 11. - 20:38:45 »
0 Show voters
Szóval itt a D-day mod tessék itt a forrás:
 
#include <a_samp>
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_BLUE 0x0000FFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define Amcsik 0
#define Nemetek 1
new player[MAX_PLAYER_NAME], Float:eP[4], timer, gRoundTime = 1200000, Hordo[MAX_PLAYERS];
new Float:robbanasok[10][3] =
{
{-827.1553,-3973.4602,9.4696},
{-844.9899,-3957.0183,4.9819},
{-823.9630,-3944.3909,10.9953},
{-845.0679,-3927.6252,5.4542},
{-861.3911,-3964.5791,2.7348},
{-813.5695,-3863.4614,13.3690},
{-815.2359,-3837.8743,12.5408},
{-839.1402,-3839.7175,4.9340},
{-811.0860,-3890.1355,15.1467},
{-838.8105,-4009.4272,8.8022}
};
static gTeam[MAX_PLAYERS];
forward Win2();
forward AntiMinigun();
forward Explosive();
forward Win(playerid);
forward Winszoveg();
main()
{
print(\"\\n---------------\");
print(\"D-day mod by GroX\");
print(\"---------------\\n\");
}
public OnGameModeInit()
{
UsePlayerPedAnims();
ShowNameTags(2);
ShowPlayerMarkers(2);
SetTimer(\"Winszoveg\", gRoundTime, 0);
SetTimer(\"AntiMinigun\",700,1);
SetTimer(\"Explosive\",1200,1);
SetGameModeText(\"D-Day v1.3\");
AddPlayerClass(287,-1151.8447,-3875.1045,16.7021,266.1140,31,10000,24,10000,25,10000); // amcsi
AddPlayerClass(287,-1151.8447,-3875.1045,16.7021,266.1140,34,10000,24,10000,0,0); // amcsi sniper
AddPlayerClass(285,-794.2073,-3977.4224,18.2233,83.4391,31,10000,24,10000,29,10000); // német
AddPlayerClass(285,-794.2073,-3977.4224,18.2233,83.4391,34,10000,24,10000,0,0); // német Sniper
//hajók
AddStaticVehicleEx(595,-1126.5596,-3894.1367,-0.3898,274.1420,0,0,15);
AddStaticVehicleEx(595,-1121.0629,-3886.6536,-0.9140,279.1553,85,62,15); // k.h
AddStaticVehicleEx(595,-1126.3560,-3878.3938,-0.8925,251.2684,85,62,15); // k.h
AddStaticVehicleEx(595,-1127.7783,-3867.9180,-1.1805,265.6819,85,62,15); // k.h
//------------------------------------------------------------------------------
//objectek
CreateObject(10794, -1154.313354, -3899.390869, 3.811310, 0.0000, 0.0000, 266.5623);
CreateObject(9586, -1154.018066, -3897.243652, 13.858776, 0.0000, 0.0000, 266.4849);
CreateObject(10793, -1149.844482, -3824.500488, 32.930805, 0.0000, 0.0000, 266.5623);
CreateObject(17068, -1134.459961, -3884.802246, 0.169728, 0.0000, 0.0000, 176.5623);
CreateObject(3620, -1146.706909, -3996.286133, 28.184313, 0.0000, 0.0000, 78.7500);
CreateObject(3797, -1132.463745, -3999.330566, 31.691217, 0.0000, 0.0000, 0.0000);
CreateObject(9241, -1151.901489, -3874.486816, 14.873930, 0.0000, 0.0000, 356.5623);
CreateObject(10757, -1151.579590, -3876.783936, 66.268288, 67.8954, 340.2330, 189.9359);
CreateObject(3786, -1154.470703, -3868.510010, 50.351040, 0.0000, 295.5422, 270.0000);
CreateObject(3786, -1148.589600, -3862.673584, 39.053833, 357.4217, 301.5584, 258.7500);
CreateObject(16256, -848.203064, -3916.383057, 6.497289, 352.2651, 0.8594, 85.6255);
CreateObject(3267, -1144.538208, -3856.353760, 12.700470, 0.0000, 0.0000, 270.0000);
CreateObject(3267, -1167.167358, -3956.916992, 12.708109, 0.0000, 0.0000, 292.5000);
CreateObject(1225, -925.122498, -3912.389404, -0.141757, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -919.648987, -3954.323242, 0.394554, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -898.065735, -3877.655273, 0.335563, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -916.748657, -3925.668945, 0.714275, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -937.510010, -3924.307373, 0.756742, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -933.339050, -3959.973633, 0.136123, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -909.558411, -3906.066650, 0.563977, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -922.522888, -3889.880615, 0.231969, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -904.293518, -3865.197998, 0.524112, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -923.936035, -3868.157959, 0.775796, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -902.743530, -3844.209473, 0.013066, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -896.217346, -3898.645752, -0.050578, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -910.941406, -3830.915283, 0.089422, 0.0000, 0.0000, 0.0000);
CreateObject(4867, -1090.288086, -4023.050781, 0.342538, 87.5586, 0.8594, 353.9839);
CreateObject(4867, -1182.367310, -3910.250977, 0.560226, 90.1369, 0.8594, 261.4057);
CreateObject(4867, -1105.774170, -3733.359863, 0.302839, 90.1369, 0.8594, 227.7329);
CreateObject(4867, -938.406982, -3672.112793, -0.384304, 90.1369, 0.8594, 172.4196);
CreateObject(987, -843.908325, -3801.118652, 5.283529, 0.0000, 26.6425, 225.0000);
CreateObject(987, -836.610840, -3793.984375, 10.246897, 0.0000, 19.7670, 225.7822);
CreateObject(987, -836.823669, -3794.497070, 10.230839, 0.0000, 355.7028, 312.4217);
CreateObject(987, -828.844360, -3803.613525, 11.501353, 0.0000, 0.0000, 11.2500);
CreateObject(987, -817.199280, -3802.291992, 12.722165, 0.0000, 0.0000, 45.0000);
CreateObject(976, -827.180420, -3805.782471, 11.596517, 93.6786, 282.6507, 198.1256);
CreateObject(987, -833.516602, -4039.736572, 9.965034, 0.0000, 349.6868, 38.9839);
CreateObject(987, -824.868286, -4032.459229, 11.793228, 359.1406, 351.4056, 40.7028);
CreateObject(987, -816.167358, -4024.705078, 13.792274, 0.0000, 357.4217, 18.2028);
CreateObject(987, -805.022095, -4020.992432, 15.393393, 0.0000, 356.5623, 343.5934);
CreateObject(944, -857.058411, -3873.826904, 1.628472, 16.3293, 0.0000, 258.7500);
CreateObject(944, -858.838867, -3861.054688, 0.485770, 16.3293, 0.0000, 258.7500);
CreateObject(944, -864.210266, -3902.127686, 1.036139, 16.3293, 0.0000, 258.7500);
CreateObject(944, -845.594604, -3891.463135, 4.817856, 16.3293, 0.0000, 258.7500);
CreateObject(944, -831.752197, -3865.465332, 7.766131, 16.3293, 0.0000, 258.7500);
CreateObject(944, -847.807495, -3914.804443, 5.057345, 16.3293, 0.0000, 258.7500);
CreateObject(944, -845.550781, -3834.216064, 3.254553, 16.3293, 0.0000, 258.7500);
CreateObject(944, -834.383057, -3847.468262, 6.339155, 16.3293, 0.0000, 258.7500);
CreateObject(944, -817.306396, -3831.744141, 12.441873, 16.3293, 0.0000, 258.7500);
CreateObject(944, -809.676086, -3862.924316, 14.663536, 16.3293, 0.0000, 258.7500);
CreateObject(944, -859.211853, -3848.497559, 0.064817, 16.3293, 0.0000, 258.7500);
CreateObject(944, -870.273804, -3928.268799, 0.887368, 16.3293, 0.0000, 258.7500);
CreateObject(944, -858.543396, -3931.492432, 3.353664, 16.3293, 0.0000, 258.7500);
CreateObject(944, -848.609131, -3956.500000, 4.189060, 16.3293, 0.0000, 258.7500);
CreateObject(944, -821.966309, -3944.385254, 11.335924, 16.3293, 0.0000, 258.7500);
CreateObject(944, -832.164063, -3973.048340, 8.357533, 16.3293, 0.0000, 258.7500);
CreateObject(944, -872.240845, -3992.968018, 1.983350, 16.3293, 0.0000, 258.7500);
CreateObject(944, -847.882568, -4010.230469, 6.947605, 16.3293, 0.0000, 258.7500);
CreateObject(944, -876.533264, -3958.601074, 0.529459, 16.3293, 0.0000, 258.7500);
CreateObject(3279, -795.006653, -3957.449219, 17.473900, 0.0000, 0.0000, 0.0000);
CreateObject(3279, -798.549500, -4005.116211, 16.518627, 0.0000, 0.0000, 0.0000);
CreateObject(3279, -790.260315, -3921.205078, 18.366634, 0.0000, 0.0000, 0.0000);
CreateObject(3279, -790.498657, -3858.851318, 17.757610, 0.0000, 0.0000, 0.0000);
CreateObject(4867, -692.474121, -3973.698486, 19.080784, 0.0000, 0.8594, 265.7028);
CreateObject(972, -781.566284, -4010.227783, 14.951328, 0.8594, 267.1808, 352.5657);
CreateObject(987, -785.970642, -4015.600098, 18.437658, 0.0000, 6.0161, 231.0934);
CreateObject(987, -801.304626, -3803.513916, 14.971798, 0.0000, 7.7349, 135.7822);
CreateObject(987, -796.130859, -3811.980713, 16.162233, 0.0000, 7.7349, 124.5322);
CreateObject(987, -790.313904, -3821.440674, 17.171846, 0.0000, 7.7349, 124.5322);
CreateObject(987, -785.799377, -3832.297607, 18.007723, 0.0000, 7.7349, 113.2822);
CreateObject(987, -783.224426, -3843.609619, 18.574989, 0.0000, 7.7349, 102.0322);
CreateObject(987, -783.144897, -3854.561523, 18.688908, 0.0000, 7.7349, 90.7822);
CreateObject(5005, -778.679871, -3897.458740, 23.306187, 0.0000, 0.8594, 265.6255);
CreateObject(1411, -784.614075, -3983.182129, 20.533379, 0.0000, 0.0000, 270.0000);
CreateObject(1411, -784.466614, -3988.302002, 20.456955, 0.0000, 0.0000, 270.0000);
CreateObject(1411, -784.446655, -3993.510498, 20.379063, 0.0000, 0.0000, 270.0000);
CreateObject(1411, -784.987000, -3998.702148, 20.300795, 0.0000, 0.0000, 258.7500);
CreateObject(1411, -785.905212, -4003.886963, 20.222204, 0.0000, 0.0000, 258.7500);
CreateObject(1411, -786.348511, -4009.059570, 20.144327, 0.0000, 0.0000, 270.0000);
CreateObject(1411, -786.833618, -4014.219727, 20.060511, 0.0000, 0.0000, 258.7500);
CreateObject(1225, -786.454224, -4012.909912, 18.794340, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -785.561584, -4000.471191, 19.047749, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -784.527161, -3986.717285, 19.254656, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -784.321228, -3992.966309, 19.095074, 0.0000, 0.0000, 0.0000);
CreateObject(1225, -786.412292, -4008.022949, 18.867491, 0.0000, 0.0000, 0.0000);
CreateObject(5005, -711.326355, -4078.589355, 20.875465, 0.0000, 0.0000, 355.7028);
CreateObject(5005, -695.978333, -3867.428955, 24.022751, 0.0000, 0.0000, 355.7028);
CreateObject(5005, -600.052185, -3953.661865, 22.889185, 359.1406, 0.8594, 264.8434);
CreateObject(16107, -763.937012, -4051.644043, 17.827211, 0.0000, 0.0000, 180.0000);
CreateObject(3877, -784.487732, -4030.265381, 19.796917, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -691.621765, -3874.734131, 22.227886, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -775.511780, -3964.861572, 20.762941, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -758.944702, -3901.980957, 21.722191, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -738.211182, -3902.788818, 21.733410, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -739.940918, -3994.316650, 20.362309, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -653.553894, -3921.431396, 21.572132, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -641.883850, -3951.990967, 21.105673, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -638.407837, -3996.527588, 20.443359, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -665.074768, -4014.672363, 20.141958, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -705.693970, -3977.051758, 20.659065, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -702.117554, -3951.803955, 21.040768, 0.0000, 0.0000, 0.0000);
CreateObject(2600, -802.226990, -3988.273926, 16.793158, 0.0000, 0.0000, 258.7500);
CreateObject(3887, -704.855225, -4063.077393, 26.598301, 0.0000, 0.0000, 270.0000);
CreateObject(17698, -731.768555, -3946.492676, 22.344769, 0.0000, 0.0000, 78.7500);
CreateObject(3707, -674.069946, -3901.040527, 28.171486, 0.0000, 0.0000, 270.0000);
CreateObject(16665, -626.405884, -3934.192383, 20.914118, 0.0000, 0.0000, 191.2500);
CreateObject(3268, -620.638245, -3933.145996, 18.531797, 0.0000, 0.0000, 0.0000);
CreateObject(1426, -630.144470, -3925.928711, 20.057207, 0.0000, 0.0000, 270.0000);
CreateObject(1426, -631.361633, -3940.906250, 19.831789, 0.0000, 0.0000, 281.2500);
CreateObject(1426, -632.776672, -3938.898438, 19.860233, 0.0000, 0.0000, 292.5000);
CreateObject(1426, -633.018372, -3929.197266, 20.003706, 0.0000, 0.0000, 249.9238);
CreateObject(3797, -625.543701, -3926.308105, 22.636681, 0.0000, 0.0000, 0.0000);
CreateObject(16662, -615.197510, -3932.274414, 21.125874, 0.0000, 0.0000, 258.7500);
CreateObject(1472, -632.983398, -3934.709961, 20.146046, 0.0000, 0.0000, 281.2500);
CreateObject(1472, -632.325317, -3934.567383, 20.550280, 0.0000, 0.0000, 281.2500);
CreateObject(3279, -729.042664, -3964.853760, 19.247602, 0.0000, 0.0000, 0.0000);
CreateObject(3279, -703.917725, -4018.572021, 18.472277, 0.0000, 0.0000, 11.2500);
CreateObject(16093, -668.419495, -3986.439209, 23.198078, 0.0000, 0.0000, 303.7501);
CreateObject(16093, -683.603394, -3952.300781, 23.691685, 0.0000, 0.0000, 303.7500);
CreateObject(16093, -738.863647, -4012.378662, 22.730873, 0.0000, 0.0000, 247.5001);
CreateObject(13011, -690.955750, -3950.361816, 20.270432, 0.0000, 0.0000, 303.7500);
CreateObject(13011, -677.967407, -3955.537354, 20.322359, 0.0000, 0.0000, 123.7500);
CreateObject(13011, -675.857422, -3984.506836, 19.946072, 0.0000, 0.0000, 303.7500);
CreateObject(13011, -662.471680, -3989.693848, 19.894434, 0.0000, 0.0000, 123.7502);
CreateObject(13011, -737.823853, -4019.334717, 19.394602, 0.0000, 0.0000, 64.9989);
CreateObject(13011, -741.483398, -4004.969971, 19.541189, 0.0000, 0.0000, 244.9993);
CreateObject(987, -787.502380, -4018.527344, 18.303375, 0.0000, 0.8594, 264.8434);
CreateObject(987, -788.450012, -4030.515625, 18.122980, 0.0000, 0.8594, 264.8434);
CreateObject(987, -789.490601, -4042.623535, 17.940689, 0.0000, 0.8594, 264.8434);
CreateObject(987, -790.067566, -4054.341797, 17.764746, 0.0000, 0.8594, 287.3434);
CreateObject(987, -786.557678, -4065.463623, 17.602320, 0.0000, 0.8594, 298.5934);
CreateObject(8342, -628.884827, -4084.259277, 20.604622, 0.0000, 0.0000, 176.5622);
CreateObject(8210, -620.173157, -3873.244629, 23.742849, 0.0000, 0.0000, 353.1245);
CreateObject(4867, -675.064331, -4106.676758, 0.374393, 85.8398, 0.0000, 347.1084);
CreateObject(4867, -603.864502, -4014.987793, 37.255005, 85.8398, 358.2811, 87.3442);
CreateObject(4867, -600.476807, -3969.550781, 37.275581, 85.8398, 358.2811, 87.3442);
CreateObject(4867, -654.881226, -3832.864990, -0.113098, 85.8398, 358.2811, 156.5632);
CreateObject(4867, -812.524292, -3735.767334, 4.226944, 90.1369, 0.8594, 138.6696);
CreateObject(4867, -880.776001, -3853.645020, -96.593529, 90.1369, 0.8594, 100.5454);
CreateObject(18257, -818.796387, -3888.448730, 11.909300, 0.0000, 0.0000, 259.4459);
CreateObject(7371, -780.466919, -3903.423584, 19.761631, 1.7189, 0.0000, 183.9195);
CreateObject(8165, -861.644348, -4033.738037, 6.573398, 347.1084, 353.1245, 56.7228);
CreateObject(4867, -881.366333, -4057.632568, 6.263725, 87.5586, 0.8594, 345.3896);
return 1;
}
public OnGameModeExit()
{
KillTimer(timer);
return 1;
}
public Win(playerid)
{
    if(IsPlayerInCheckpoint(playerid))
{ //Ha az ido leteltével a játékos a cp-ben van
   SendClientMessage ( playerid, COLOR_GREEN, \"Nyertél!\" );
        SendRconCommand(\"gmx\");
        SendClientMessageToAll(COLOR_GREEN, \"Az amerikaik megnyerték a menetet! Újraindítás...\");
    }
else
{ //De ha nincs bent
   SendClientMessage ( playerid, COLOR_RED, \"Nemsikerült a foglalás!\" );
    }
    return 1;
}
public Win2()
{
    SendClientMessageToAll(COLOR_GREEN, \"A Németek megnyerték a menetet! Újraindítás...\");
      SendRconCommand(\"gmx\");
    return 1;
}
public Winszoveg()
{
SendClientMessageToAll(COLOR_GREEN, \"A Németek megnyerték a menetet! Újraindítás...\");
SetTimer(\"Win2\", 10000, 0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(classid== 0)
{
GameTextForPlayer(playerid,\"~b~~h~~h~American\",1000,3);
SetPlayerColor(playerid,COLOR_RED);
gTeam[playerid] = Amcsik;
}
else if(classid== 1)
{
GameTextForPlayer(playerid,\"~b~American Sniper\",1000,3);
SetPlayerColor(playerid,COLOR_RED);
gTeam[playerid] = Amcsik;
}
else if(classid== 2)
{
GameTextForPlayer(playerid,\"~y~German\",1000,3);
SetPlayerColor(playerid,COLOR_BLUE);
gTeam[playerid] = Nemetek;
}
else if(classid== 3)
{
GameTextForPlayer(playerid,\"~y~German Sniper\",1000,3);
SetPlayerColor(playerid,COLOR_BLUE);
gTeam[playerid] = Nemetek;
}
//------------------------------------------------------------------------------//
SetPlayerPos(playerid,-1151.2321,-3874.4927,16.7021);
SetPlayerCameraPos(playerid, -1143.4836,-3875.0947,16.7021);
SetPlayerCameraLookAt(playerid,-1151.2321,-3874.4927,16.7021);
return 1;
}
public OnPlayerConnect(playerid)
{
new connectmsg[64]; // elég 64 is
GetPlayerName(playerid, player, 50);
format(connectmsg, sizeof(connectmsg), \"%s Jött Harcolni!\",player);
SendClientMessageToAll(COLOR_GREY, connectmsg);
    return 1;
}
public OnPlayerDisconnect(playerid)
{
new disconnectmsg[64];
GetPlayerName(playerid, player, 50);
format(disconnectmsg, sizeof(disconnectmsg), \"%s Elfutott!\",player);
SendClientMessageToAll(COLOR_GREY, disconnectmsg);
    return 1;
}
public OnPlayerEnterCheckpoint (playerid)
{
    if(gTeam[playerid] == Amcsik)
    {
       timer = SetTimer ( \"Win\", 10000, false ); //Az idozíto elindítása
       SendClientMessageToAll(COLOR_RED, \"Támadják a központot!!!\");
    }
else
{
       SendClientMessage(playerid, COLOR_GREEN, \"Ha egy ellenség bejut ide akkor meg kell próbálnod minél gyorsabban megölni!\");
    }
    return 1;
}
public OnPlayerSpawn(playerid)
{
SetWorldTime(20);
SetPlayerTime(playerid,20,0);
SetWeather(4);
SetPlayerCheckpoint(playerid,-618.5077,-3932.5842,20.9219, 3.0);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid,playerid,reason);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, \"/hordo\", true)==0)
{
       if(!IsValidObject(Hordo[playerid]) ) return  SendClientMessage(playerid, 0xAFAFAFAA, \"Na persze még mit nem! Már raktál le te ész!\");
GetPlayerPos(playerid, eP[0], eP[1], eP[2]);
DestroyObject(Hordo[playerid]);
GetPlayerFacingAngle(playerid, eP[3]);
Hordo[playerid] = CreateObject(1225, eP[0]+2, eP[1], eP[2]-0.2, 0.0, 0.0, eP[3]);
SendClientMessage(playerid, 0xCDE907AA, \"Robbanó Hordó Lerakva!\");
return 1;
}
if(strcmp(cmdtext, \"/kill\", true)==0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
return 0;
}
public AntiMinigun() // Készítette: Freddy
{
for(new i; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
   new fegyver, tolteny;
   GetPlayerWeaponData(i, 7, fegyver, tolteny);
   if(fegyver == WEAPON_MINIGUN && tolteny >= 1)
   {
      new cheatmsg[128];
      GetPlayerName(i, player, 50);
      format(cheatmsg, sizeof(cheatmsg), \"%s Kickelve lett minigun használata miatt!\",player);
      SendClientMessageToAll(COLOR_GREY, cheatmsg);
      SendClientMessage(i, COLOR_RED, \"Minigun Védelem: Kickelve Lettél Minigun Használatta Miatt!\");
      Kick(i);
   }
   }
}
return 1;
}
public Explosive()
{
new rand = random (sizeof(robbanasok));
CreateExplosion(robbanasok[rand]
  • , robbanasok[rand] [1], robbanasok[rand] [2], 6, 10.0 );

return 1;
}

 
Nincs mit :)

Alpha

  • Vendég
CP
« Válasz #4 Dátum: 2009. november 14. - 17:48:26 »
0 Show voters
Nekem nem sikerült muködoképesre megcsinálni nem írnátok le scriptbe pls? És valaki nem tudna segíteni a sapwn os menüben?
« Utoljára szerkesztve: 2009. november 14. - 18:07:19 írta Alpha »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal