/tune pomoc plss

Započeo Javier, Decembar 19, 2009, 10:50:46 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

if(strcmp(cmd, "/tune", true) == 0)
   {
      if (PlayerToPoint(3, playerid,2039.6188,-2408.2690,13.5469))
        {
                if(IsPlayerConnected(playerid))
             {
                                  vehicle = GetPlayerVehicleID(playerid);
                                  if (vehicle > 0)
                                  {
               AddVehicleComponent(60,1023);
               AddVehicleComponent(60,1081);
               AddVehicleComponent(60,1027);
               AddVehicleComponent(60,1010);
               AddVehicleComponent(60,1033);
               AddVehicleComponent(61,1023);
               AddVehicleComponent(61,1081);
               AddVehicleComponent(61,1027);
               AddVehicleComponent(61,1010);
               AddVehicleComponent(61,1033);
               AddVehicleComponent(62,1023);
               AddVehicleComponent(62,1081);
               AddVehicleComponent(62,1027);
               AddVehicleComponent(62,1010);
               AddVehicleComponent(62,1033);
               AddVehicleComponent(63,1023);
               AddVehicleComponent(63,1081);
               AddVehicleComponent(63,1027);
               AddVehicleComponent(63,1010);
               AddVehicleComponent(63,1033);
               AddVehicleComponent(64,1023);
               AddVehicleComponent(64,1081);
               AddVehicleComponent(64,1027);
               AddVehicleComponent(64,1010);
               AddVehicleComponent(64,1033);
               AddVehicleComponent(65,1023);
               AddVehicleComponent(65,1081);
               AddVehicleComponent(65,1027);
               AddVehicleComponent(65,1010);
               AddVehicleComponent(65,1033);
               AddVehicleComponent(66,1023);
               AddVehicleComponent(66,1081);
               AddVehicleComponent(66,1027);
               AddVehicleComponent(66,1010);
               AddVehicleComponent(66,1033);
            }
            else
            {
               SendClientMessage(playerid, COLOR_LIGHTRED, "Niste u TUNING garazi na aeru");
            }
         }
      return 1;
   }

jel ide ovako i u koji dio skripte ide.

Citat: ado poslato Decembar 19, 2009, 10:50:46 PRE PODNE
if(strcmp(cmd, "/tune", true) == 0)
   {
      if (PlayerToPoint(3, playerid,2039.6188,-2408.2690,13.5469))
        {
                if(IsPlayerConnected(playerid))
             {
                                  vehicle = GetPlayerVehicleID(playerid);
                                  if (vehicle > 0)
                                  {
               AddVehicleComponent(60,1023);
               AddVehicleComponent(60,1081);
               AddVehicleComponent(60,1027);
               AddVehicleComponent(60,1010);
               AddVehicleComponent(60,1033);
               AddVehicleComponent(61,1023);
               AddVehicleComponent(61,1081);
               AddVehicleComponent(61,1027);
               AddVehicleComponent(61,1010);
               AddVehicleComponent(61,1033);
               AddVehicleComponent(62,1023);
               AddVehicleComponent(62,1081);
               AddVehicleComponent(62,1027);
               AddVehicleComponent(62,1010);
               AddVehicleComponent(62,1033);
               AddVehicleComponent(63,1023);
               AddVehicleComponent(63,1081);
               AddVehicleComponent(63,1027);
               AddVehicleComponent(63,1010);
               AddVehicleComponent(63,1033);
               AddVehicleComponent(64,1023);
               AddVehicleComponent(64,1081);
               AddVehicleComponent(64,1027);
               AddVehicleComponent(64,1010);
               AddVehicleComponent(64,1033);
               AddVehicleComponent(65,1023);
               AddVehicleComponent(65,1081);
               AddVehicleComponent(65,1027);
               AddVehicleComponent(65,1010);
               AddVehicleComponent(65,1033);
               AddVehicleComponent(66,1023);
               AddVehicleComponent(66,1081);
               AddVehicleComponent(66,1027);
               AddVehicleComponent(66,1010);
               AddVehicleComponent(66,1033);
            }
            else
            {
               SendClientMessage(playerid, COLOR_LIGHTRED, "Niste u TUNING garazi na aeru");
            }
         }
      return 1;
   }

jel ide ovako i u koji dio skripte ide.

Pisi u kodu i stavi pod OnPlayerCommandText

nejde tako...

AddVehicleComponent(60,1023);

ovdje 60 moras staviti id vozila u kojem je igrač...
ti si stavio da ce ti samo vozilo id 60 dobiti component 1023...

D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2186) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2215) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2251) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2252) : error 004: function "SafeGivePlayerWeapon" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2279) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2773) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2784) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2796) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2800) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2812) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2816) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2820) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2824) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2828) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2832) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2836) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2840) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2852) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2856) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2860) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2864) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2868) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2880) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2884) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2888) : error 004: function "PlayerToPoint" is not implemented
D:\SERVER NAJJACI\gamemodes\NLRP12.pwn(2900) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
erori vidi