Szerző Téma: Modírás hiba  (Megtekintve 363 alkalommal)

Modírás hiba
« Dátum: 2013. augusztus 01. - 08:48:10 »
0 Show voters
Heló fórum!
Elkezdeném a házi szerverem, írom a módját, de 9 errort ír a dmrendszerre! A mod:
 
//////////inlude-ok/////
#include <a_samp>
#include <zcmd>
//////////forwardok/////////
/////////defunációk//////////
////////////dialogok///////
#define DIALOG_DMS 100
//////////színek///////////
#pragma tabsize 0
/////////Newek///////////////
new string[512];
new dmplayers[8];
new dm[MAX_PLAYERS];
////////////////////////////////
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Blank Filterscript by your name here\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print(\"\\n----------------------------------\");
print(\" Blank Gamemode by your name here\");
print(\"----------------------------------\\n\");
}
#endif
public OnGameModeInit()
{
//Stunt map by: [O.L]Bence
CreateObject(1634, 1947.182007, -2503.724365, 13.836434, 0.0000, 0.0000, 11.2500);
    CreateObject(6052, 1912.539673, -2370.227295, 15.294515, 0.0000, 0.0000, 11.2500);
    CreateObject(13640, 1970.291992, -2376.295166, 24.939175, 0.0000, 0.0000, 0.0000);
    CreateObject(1655, 1978.241699, -2377.048828, 25.977720, 0.0000, 0.0000, 270.0000);
    CreateObject(1894, 2159.509766, -2399.135498, 16.279255, 0.0000, 0.0000, 0.0000);
    CreateObject(1894, 2081.336182, -2379.268066, 23.127403, 0.0000, 0.0000, 0.0000);
    CreateObject(6052, 2173.845703, -2405.145508, 15.301646, 0.0000, 0.0000, 191.2499);
    CreateObject(3625, 2179.035889, -2421.698242, 15.210176, 0.0000, 0.0000, 270.0000);
    CreateObject(972, 2175.862061, -2387.469238, 12.371881, 0.0000, 0.0000, 247.5000);
    CreateObject(972, 2185.976074, -2392.754883, 12.378975, 0.0000, 0.0000, 247.5000);
    CreateObject(972, 2161.834717, -2448.312500, 12.371881, 0.0000, 0.0000, 247.5000);
    CreateObject(972, 2172.365723, -2452.781982, 12.371881, 0.0000, 0.0000, 247.5000);
    CreateObject(3292, 1912.165283, -2340.340576, 13.049283, 0.0000, 0.0000, 180.0000);
    CreateObject(16304, 1927.516602, -2376.321045, 17.732155, 0.0000, 0.0000, 0.0000);
    CreateObject(13647, 1948.530884, -2377.683594, 20.064560, 0.0000, 0.0000, 0.0000);
    CreateObject(3625, 1987.100464, -2379.190918, 29.111252, 0.0000, 0.0000, 0.0000);
    CreateObject(1696, 1995.262573, -2374.178467, 28.114616, 0.0000, 0.0000, 270.0000);
    CreateObject(5153, 1961.379639, -2377.668457, 24.665867, 0.0000, 0.0000, 0.0000);
    CreateObject(5153, 2085.216064, -2378.520508, 25.213085, 0.0000, 0.0000, 0.0000);
    //DM map by: [O.L]Bence
    CreateObject(3279, 2607.288330, -1774.601318, 0.716242, 0.0000, 0.0000, 270.0000);
    CreateObject(3277, 2559.338623, -1798.083252, 1.413218, 0.0000, 0.0000, 236.2500);
    CreateObject(1467, 2602.560547, -1784.437012, 1.805210, 0.0000, 0.0000, 191.2500);
    CreateObject(16093, 2602.799072, -1811.432251, 5.086963, 0.0000, 0.0000, 270.0000);
    CreateObject(1332, 2587.608398, -1773.607178, 1.709680, 0.0000, 0.0000, 0.0000);
    CreateObject(1332, 2596.361816, -1773.623535, 1.709682, 0.0000, 0.0000, 0.0000);
    CreateObject(1332, 2576.952881, -1831.416504, 3.087584, 0.0000, 0.0000, 180.0000);
    CreateObject(1332, 2576.641113, -1771.763794, 1.703315, 0.0000, 0.0000, 0.0000);
    CreateObject(3279, 2561.085938, -1774.509766, 0.716242, 0.0000, 0.0000, 90.0000);
    CreateObject(3279, 2563.606934, -1834.826172, 2.624090, 0.0000, 0.0000, 45.0000);
    CreateObject(3279, 2598.756348, -1837.145142, 1.956548, 0.0000, 0.0000, 135.0002);
    CreateObject(1332, 2589.646484, -1833.466675, 2.963802, 0.0000, 0.0000, 180.0000);
    CreateObject(1240, 2561.032959, -1774.509521, 16.990431, 0.0000, 0.0000, 0.0000);
    CreateObject(1240, 2606.911133, -1774.569824, 16.990431, 0.0000, 0.0000, 0.0000);
    CreateObject(1240, 2599.205566, -1836.660278, 18.230736, 0.0000, 0.0000, 0.0000);
    CreateObject(1240, 2563.826904, -1834.607422, 18.898279, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2599.354492, -1823.021118, 1.860796, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2600.606201, -1790.038940, 1.116693, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2600.041992, -1815.046387, 5.695843, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2564.255127, -1834.609497, 10.778354, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2585.047119, -1773.361694, 1.123055, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2607.089355, -1775.338867, 8.870505, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2598.177002, -1836.627930, 10.110812, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2579.750244, -1789.324585, 1.116693, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2561.237549, -1774.499634, 8.870506, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2582.045410, -1832.008789, 2.685153, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2580.214111, -1807.436035, 8.870505, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2559.529297, -1798.564819, 2.381593, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2584.725830, -1790.218872, 1.123055, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2579.556152, -1807.490356, 17.270433, 0.0000, 0.0000, 0.0000);
    CreateObject(1222, 2584.163330, -1803.348877, 1.346259, 0.0000, 0.0000, 0.0000);
    CreateObject(3279, 2579.450928, -1807.647827, 0.716242, 0.0000, 0.0000, 270.0000);
    CreateObject(987, 2600.885010, -1846.386475, 2.164965, 0.0000, 0.0000, 0.0000);
    CreateObject(987, 2589.179688, -1846.262085, 2.418834, 0.0000, 0.0000, 0.0000);
    CreateObject(987, 2577.456543, -1846.041138, 2.599646, 0.0000, 0.0000, 0.0000);
    CreateObject(987, 2565.581299, -1845.910034, 2.589981, 0.0000, 0.0000, 0.0000);
    CreateObject(987, 2556.707764, -1845.809326, 2.774701, 0.0000, 0.0000, 0.0000);
    CreateObject(987, 2565.404297, -1845.584229, 2.573124, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2553.504639, -1833.572998, 2.697004, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2553.560791, -1821.623047, 1.730898, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2553.686523, -1810.568115, 0.837099, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2553.470215, -1798.595459, 0.640625, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2553.241211, -1786.982910, 0.840296, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2552.937012, -1774.795410, 1.128841, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2553.300293, -1766.000000, 0.784096, 0.0000, 0.0000, 270.0001);
    CreateObject(987, 2565.572021, -1765.980591, 0.640625, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2577.700928, -1766.148804, 0.640625, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2589.477295, -1766.225098, 0.646988, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2601.443604, -1766.237427, 0.646987, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2613.388184, -1766.299927, 0.640627, 0.0000, 0.0000, 180.0000);
    CreateObject(987, 2613.388184, -1777.800659, 0.640625, 0.0000, 0.0000, 90.0001);
    CreateObject(987, 2613.039795, -1789.783203, 0.642656, 0.0000, 0.0000, 90.0002);
    CreateObject(987, 2613.036865, -1801.661133, 0.642635, 0.0000, 0.0000, 90.0002);
    CreateObject(987, 2612.845947, -1813.641846, 0.844069, 0.0000, 0.0000, 90.0002);
    CreateObject(987, 2612.417236, -1846.570068, 1.985331, 0.0000, 0.0000, 90.0002);
    CreateObject(987, 2612.575195, -1835.015381, 1.584736, 0.0000, 0.0000, 90.0002);
    CreateObject(987, 2612.342773, -1823.060913, 1.176662, 0.0000, 0.0000, 90.0002);
    CreateObject(3279, 2607.138184, -1774.862915, 0.716242, 0.0000, 0.0000, 270.0000);
    ///////////////////////////////
SetGameModeText(\"SSS v1.0\");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
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 1;
}
public OnPlayerConnect(playerid)
{
    SetPVarInt(playerid, \"InDM\", 0);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    if(GetPVarInt(playerid, \"InDM\")) cmd_exitdm(playerid);
return 1;
}
    public OnPlayerSpawn(playerid)
{
if(GetPVarInt(playerid, \"InDM\"))
{
switch(dm[playerid])
{
   case 1:
   { // Minigun DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
         case 1: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
         case 2: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
      }
         GivePlayerWeapon(playerid, 38, 99999);
      }
   case 2:
   { // Minigun(2) DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid,0,0,0); // írd át
         case 1: SetPlayerPos(playerid,0,0,0); // írd át
         case 2: SetPlayerPos(playerid,0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 38, 99999);
      }
   case 3:
   { // Sniper DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0,0,0); // írd át
         case 1: SetPlayerPos(playerid, 0,0,0); // írd át
         case 2: SetPlayerPos(playerid, 0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 34, 99999);
      }
   case 4:
   { // Shoutgun DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid,0,0,0); // írd át
         case 1: SetPlayerPos(playerid,0,0,0); // írd át
         case 2: SetPlayerPos(playerid,0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 25, 99999);
      }
   case 5:
   { // M4 DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0,0,0); // írd át
         case 1: SetPlayerPos(playerid, 0,0,0); // írd át
         case 2: SetPlayerPos(playerid, 0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 31, 99999);
      }
   case 6:
   { // M4(2) DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid,0,0,0); // írd át
         case 1: SetPlayerPos(playerid,0,0,0); // írd át
         case 2: SetPlayerPos(playerid,0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 31, 99999);
      }
   case 7:
   { // DesertAgle DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0,0,0); // írd át
         case 1: SetPlayerPos(playerid, 0,0,0); // írd át
         case 2: SetPlayerPos(playerid, 0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 24, 99999);
      }
   case 8:
   { // Sawn DeathMatch
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid,0,0,0); // írd át
         case 1: SetPlayerPos(playerid,0,0,0); // írd át
         case 2: SetPlayerPos(playerid,0,0,0); // írd át
      }
         GivePlayerWeapon(playerid, 26, 99999);
      }
   }
}
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/mycommand\", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
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 1;
}
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 DIALOG_DMS:
   {
      if(!response)
      return 1;
   if(listitem == 0)
   {
      dmplayers[0] ++;
      dm[playerid] = 1;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
         case 1: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
         case 2: SetPlayerPos(playerid, 3763.4041, -1055.2611, 24.9338); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a Minigun DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[0]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 1)
   {
      dmplayers[1] ++;
      dm[playerid] = 2;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a Minigun(2) DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[1]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 2)
   {
      dmplayers[2] ++;
      dm[playerid] = 3;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a Sniper DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[2]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 3)
   {
      dmplayers[3] ++;
      dm[playerid] = 4;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a Shoutgun DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[3]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 4)
   {
      dmplayers[4] ++;
      dm[playerid] = 5;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a M4 DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[4]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 5)
   {
      dmplayers[5] ++;
      dm[playerid] = 6;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a M4(2) DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[5]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 6)
   {
      dmplayers[6] ++;
      dm[playerid] = 7;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a DesertAgle DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[6]);
      SendClientMessageToAll(-1, string);
   }
   if(listitem == 7)
   {
      dmplayers[7] ++;
      dm[playerid] = 8;
      switch(random(3))
      {
         case 0: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 1: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
         case 2: SetPlayerPos(playerid, 0.0, 0.0, 0.0); // írd át
      }
      string[0] = EOS;
      format(string, sizeof(string), \"[DM]: %s csatlakozott a Sawn DM-be! Csatlakozott tag: %i.\", Name(playerid), dmplayers[7]);
      SendClientMessageToAll(-1, string);
   }
      SetPVarInt(playerid, \"InDM\", 1);
   }
}
return 1;
    }
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
////////////////////////DMRendszer//////////////
    public OnPlayerCommandReceived(playerid, cmdtext[])
{
       if( strfind(cmdtext, \"/exitdm\") != 0)
{
   if(GetPVarInt(playerid, \"InDM\") && strcmp(cmdtext, \"/exitdm\") && dm[playerid] > 0)
   {
      SendClientMessage(playerid, 0xff9999ff, \"[DM]: DM zónában nem használhatsz parancsokat! Kilépéshez: /exitdm.\");
      return 0;
   }
}
return 1;
    }
////////////////////////parancsok///////////////
    CMD:dms(playerid)
{
if(GetPVarInt(playerid, \"InDM\")) return SendClientMessage(playerid, 0xff0000ff, \"[DM]: Te már csatlakoztál egy DM-be!\");
new line[512];
line[0] = EOS;
format(string, sizeof(string), \"Minigun DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[0]);
strcat(line, string);
format(string, sizeof(string), \"Minigun(2) DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[1]);
strcat(line, string);
format(string, sizeof(string), \"Sniper DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[2]);
strcat(line, string);
format(string, sizeof(string), \"Shoutgun DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[3]);
strcat(line, string);
format(string, sizeof(string), \"M4 DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[4]);
strcat(line, string);
format(string, sizeof(string), \"M4(2) DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[5]);
strcat(line, string);
format(string, sizeof(string), \"DesertAgle DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[6]);
strcat(line, string);
format(string, sizeof(string), \"Sawn DeathMatch - Csatlakozott tagok: %i\\n\", dmplayers[7]);
strcat(line, string);
ShowPlayerDialog(playerid, DIALOG_DMS, 2, \"DeathMatch-ok:\", line, \"Csatlakoz\", \"Kilép\");
return 1;
}
    CMD:exitdm(playerid)
{
new dmname[64];
switch(dm[playerid])
{
   case 1:
   {
      dmplayers[0] --;
      dmname = \"Minigun DeathMatch\";
   }
   case 2:
   {
      dmplayers[1] --;
      dmname = \"Minigun(2) DeathMatch\";
   }
   case 3:
   {
      dmplayers[2] --;
      dmname = \"Sniper DeathMatch\";
   }
   case 4:
   {
      dmplayers[3] --;
      dmname = \"Shoutgun DeathMatch\";
   }
   case 5:
   {
      dmplayers[4] --;
      dmname = \"M4 DeathMatch\";
   }
   case 6:
   {
      dmplayers[5] --;
      dmname = \"M4(2) DeathMatch\";
   }
   case 7:
   {
      dmplayers[6] --;
      dmname = \"DesertAgle DeathMatch\";
   }
   case 8:
   {
      dmplayers[7] --;
      dmname = \"Sawn DeathMatch\";
   }
}
dm[playerid] = 0;
SetPVarInt(playerid, \"InDM\", 0);
SpawnPlayer(playerid);
format(string, sizeof(string), \"[DM]: %s kilépett a %s -ból/bõl!\", Name(playerid), dmname);
SendClientMessageToAll(-1, string);
return 1;
}

 
Errorok:
 
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(417) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(431) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(445) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(459) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(473) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(487) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(501) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(515) : error 017: undefined symbol \"Name\"
C:\\Users\\Bence\\Desktop\\Nagy Magyar Stunt Szerver\\gamemodes\\ScotlandGM.pwn(619) : error 017: undefined symbol \"Name\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
9 Errors.
« Utoljára szerkesztve: 2013. augusztus 01. - 09:08:15 írta [O.L]Bence »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal