Jump to content
  • 0

26 erori


GEORGIKAA

Question

 

if(teamScore[teamPlacedBet[playerid]] == teamScore[teamPlacedBet[playerid]+1]) 
			{
				if(cotaSelectata[playerid] == 2) 
				{
					format(string, 144, "[MATCH END]{fff000} Echipa %s a facut egalitate cu echipa %s. Scor final: %d - %d. Pariul tau: %s.", firstTeam(teamPlacedBet[playerid]+1), secondTeam(teamPlacedBet[playerid]+1), teamScore[teamPlacedBet[playerid]], teamScore[teamPlacedBet[playerid]+1], ctext);
					SCM(playerid, COLOR_GREEN, string);

					format(string, 128, "Ai castigat $%s pariati pe meciul %s vs %s. Felicitari!", FormatNumber(playerBet[i][teamPlacedBet[playerid]]*teamPlayerPrize3[teamPlacedBet[playerid]]), firstTeam(teamPlacedBet[playerid]+1), secondTeam(teamPlacedBet[playerid]+1));
					SCM(playerid, COLOR_GREEN, string);
					GivePlayerCash(playerid, playerBet[i][teamPlacedBet[playerid]]*teamPlayerPrize3[teamPlacedBet[playerid]]);
				}	
				else 
				{
					format(string, 144, "[MATCH END]{fff000} Echipa %s a castigat contra echipei %s. Scor final: %d - %d. Pariul tau: %s.", firstTeam(teamPlacedBet[playerid]+1), secondTeam(teamPlacedBet[playerid]+1), teamScore[teamPlacedBet[playerid]], teamScore[teamPlacedBet[playerid]+1], ctext);
					SCM(playerid, COLOR_GREEN, string);

					SCM(playerid, COLOR_GREEN, "Ai pierdut banii pariati.");
				}	

dupa ce adaug bucata asta de script primesc erorile astea:

D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\opcode.inc(607) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1014) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\y_amx.inc(1054) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(199) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(274) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(302) : error 025: function heading differs from prototype
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(308) : warning 213: tag mismatch
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(338) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(398) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(640) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(1137) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(1236) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\server\pawno\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\a_zones.inc(418) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\a_zones.inc(418) : warning 219: local variable "y" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(43) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(43) : warning 219: local variable "y" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(58) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(58) : warning 219: local variable "y" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(106) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\pawno\include\fly.inc(106) : warning 219: local variable "y" shadows a variable at a preceding level
D:\server\pawno\include\geolocation.inc(123) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\pawno\include\geolocation.inc(474) : warning 219: local variable "playerid" shadows a variable at a preceding level
D:\server\pawno\include\firework.inc(68) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(53) : error 017: undefined symbol "AntiDeAMX"
D:\server\gamemodes\ExtremeGame.pwn(2729) : warning 219: local variable "vehicleid" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4382) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(4397) : warning 219: local variable "health" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4404) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(4408) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(4475) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4500) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(4502) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4505) : error 004: function "ProxDetector" is not implemented
D:\server\gamemodes\ExtremeGame.pwn(4566) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4582) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(4596) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5140) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5152) : warning 219: local variable "health" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5160) : error 017: undefined symbol "Carspeed"
D:\server\gamemodes\ExtremeGame.pwn(5226) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5229) : warning 219: local variable "health" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5546) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5559) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5572) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5585) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5598) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5611) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5624) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5637) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5650) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5662) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5672) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5687) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5700) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5713) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5726) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5789) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5808) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(5831) : error 017: undefined symbol "NumIp"
D:\server\gamemodes\ExtremeGame.pwn(5845) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6607) : error 004: function "SS" is not implemented
D:\server\gamemodes\ExtremeGame.pwn(6620) : error 017: undefined symbol "ClearWanted"
D:\server\gamemodes\ExtremeGame.pwn(6648) : error 017: undefined symbol "BanCheck"
D:\server\gamemodes\ExtremeGame.pwn(6656) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6794) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6800) : error 004: function "CrimInRange" is not implemented
D:\server\gamemodes\ExtremeGame.pwn(6851) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6960) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6981) : error 017: undefined symbol "SetPlayerArmourEx"
D:\server\gamemodes\ExtremeGame.pwn(6989) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(6999) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(7020) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7037) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7047) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(7068) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7088) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7205) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7214) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7233) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7251) : warning 219: local variable "y" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7251) : warning 219: local variable "h" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7279) : error 004: function "ProxDetector" is not implemented
D:\server\gamemodes\ExtremeGame.pwn(7314) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7343) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7357) : error 017: undefined symbol "SetPlayerArmourEx"
D:\server\gamemodes\ExtremeGame.pwn(7402) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7426) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7451) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7476) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7501) : error 017: undefined symbol "SetPlayerPosEx"
D:\server\gamemodes\ExtremeGame.pwn(7529) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7539) : error 017: undefined symbol "SetPlayerHealthEx"
D:\server\gamemodes\ExtremeGame.pwn(7560) : warning 219: local variable "x" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7591) : warning 219: local variable "string" shadows a variable at a preceding level
D:\server\gamemodes\ExtremeGame.pwn(7601) : error 017: undefined symbol "SetPlayerHealthEx"

care ar fi problema? arata fix ca restul pe care le am din sistemul asta.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

am rezolvat asta, insa am o problema la afisaje.

 

https://imgur.com/a/S2Bfb3f

comanda /matches

CMD:matches(playerid, params[]) 
{
	if(!IsPlayerInRangeOfPoint(playerid, 50.0, 834.6208,7.6082,1004.1870)) return SCM(playerid, -1, "Nu esti la locul potrivit!");
	new szDialog[128], szDialog2[580];
	strcat(szDialog2, "STATUS - TEAMS\t1\tX\t2\n");
	for(new i = 0; i < 6; i++) 
	{
		teamPrize(i);
		format(szDialog, sizeof(szDialog), "{fff000}{fff000}[STARTING IN %d]{ffffff} - %s vs %s\t%d.0\t%d.0\t%d.0\n", startMatchTime[i], firstTeam(i+1), secondTeam(i+1), teamPlayerPrize1[i], teamPlayerPrize2[i], teamPlayerPrize3[i]);
		strcat(szDialog2, szDialog);
	}
	ShowPlayerDialog(playerid, DIALOG_BET, DIALOG_STYLE_TABLIST_HEADERS, "Football Matches - Betting", szDialog2, "Select", "Cancel");

	return 1; 
}

firstteam, secondteam:

function firstTeam(team) 
{
	new string[128];
	switch(team) 
	{
		case 1: string = "FC Gilau West";
		case 2: string = "CFR Cluj";
		case 3: string = "Barcelona";
		case 4: string = "Everton";
		case 5: string = "Werder Bremen";
		case 6: string = "Hoffenheim";
	}
	return 1; 
}
function secondTeam(team) 
{
	new string[128];
	switch(team) 
	{
		case 1: string = "FC Targu Neamt";
		case 2: string = "FC Botosani";
		case 3: string = "Real Madrid";
		case 4: string = "Manchester City";
		case 5: string = "B. Monchengladbach";
		case 6: string = "Augsburg";
	}
	return 1; 
}	

starteammatch:

function resetTeamTimer(team) 

{
    new timp = 60 + random(60);
    startMatchTime[team] = timp; 
    return 1; 
}

 

Link to comment
Share on other sites

  • 0

Salut @GEORGIKAA,

Trebuie sa returnezi stringul in functiile fistTeam si secondTeam: return string;

Exemplu:

function firstTeam(team) 
{
	new string[20];
	switch(team) 
	{
		case 1: string = "FC Gilau West";
		case 2: string = "CFR Cluj";
		case 3: string = "Barcelona";
		case 4: string = "Everton";
		case 5: string = "Werder Bremen";
		case 6: string = "Hoffenheim";
	}
	return string; 
}

Si apropo, nu ai nevoie de un string de 128 de caractere in functie, ca ce ai tu scris pe acolo nu depaseste nici macar 15, dar pune 20 in caz ca mai adaugi vr-o echipa cu un nume mai lung. Exemplu cum ti-am pus in codul de mai sus.

Daca te-am ajutat =>

spacer.png

Link to comment
Share on other sites

  • 0

@shane

am adaugat fix cum ai spus tu insa am dat de alta belea.

D:\server\gamemodes\ExtremeGame.pwn(35452) : error 090: public functions may not return arrays (symbol "firstTeam")
D:\server\gamemodes\ExtremeGame.pwn(35466) : error 090: public functions may not return arrays (symbol "secondTeam")

 

Edited by GEORGIKAA
Link to comment
Share on other sites

  • 0
7 minutes ago, GEORGIKAA said:

@shane

am adaugat fix cum ai spus tu insa am dat de alta belea.

D:\server\gamemodes\ExtremeGame.pwn(35452) : error 090: public functions may not return arrays (symbol "firstTeam")
D:\server\gamemodes\ExtremeGame.pwn(35466) : error 090: public functions may not return arrays (symbol "secondTeam")

 

Foloseste stock in loc de function.

Daca te-am ajutat =>

spacer.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By R4zvyy
      C:\Users\R4zvyy\Desktop\moon-times (noua)\pawno\include\YSI\y_hooks.inc(64) : fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      1 Error.
      ===========
      #include        <YSI\y_hooks>
      #include         <YSI\y_iterate>
      #include        <YSI\y_stringhash>
      #include         <YSI\y_commands>
      #include         <YSI\y_master>
      #include         <YSI\y_timers>
    • By GamerulFOX
      Salut ! Cine ma poate ajuta cu erorile astea ? am folosit acest tutorial 

    • By BaDB0y95
      Am si eu aceste erori si se da crash pe server 
       
      [12:02:08] [debug] Run time error 4: "Array index out of bounds"
      [12:02:08] [debug]  Accessing element at negative index -1
      [12:02:08] [debug] AMX backtrace:
      [12:02:08] [debug] #0 001bf4f4 in public OnPlayerKeyStateChange (0, 65536, 0) from gamemode.amx
      [12:02:12] [debug] Run time error 4: "Array index out of bounds"
      [12:02:12] [debug]  Accessing element at negative index -1
      [12:02:12] [debug] AMX backtrace:
       
    • By Alexandru Mihalescu
      Primesc eroriile aste dintr-un fisier YSI, am intrat in fisierul ala si nu stiu exact ce sa ii fac...

    • By CyberNeticK
      salut, sunt nou in scripting cum credeti ca as putea sa rezolv eroare asta fratilor 
       
      C:\Users\crist\Desktop\New folder\gamemodes\fox.pwn(3379) : error 017: undefined symbol "PlayerInfo"
      C:\Users\crist\Desktop\New folder\gamemodes\fox.pwn(3379) : error 029: invalid expression, assumed zero
      C:\Users\crist\Desktop\New folder\gamemodes\fox.pwn(3379) : warning 215: expression has no effect
      C:\Users\crist\Desktop\New folder\gamemodes\fox.pwn(3379) : error 001: expected token: ";", but found "]"
      C:\Users\crist\Desktop\New folder\gamemodes\fox.pwn(3379) : fatal error 107: too many error messages on one line
      Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase

      4 Errors.
       
      iar linia 3379 este asta : if(PlayerInfo[playerid][pCarVipColors][idcar] == 0) format(string, sizeof(string), "{FFFFFF}%s", CarVipName[playerid][idcar]);
       
      asa arata intregul script: 
      public SetVipText(playerid, idcar)
      {
          new string[128];
          if(strlen(CarVipName[playerid][idcar]) > 0)
          {
              if(PlayerInfo[playerid][pCarVipColors][idcar] == 0) format(string, sizeof(string), "{FFFFFF}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 1) format(string, sizeof(string), "{FF0000}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 2) format(string, sizeof(string), "{640000}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 3) format(string, sizeof(string), "{00FF00}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 4) format(string, sizeof(string), "{004B01}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 5) format(string, sizeof(string), "{008DFF}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 6) format(string, sizeof(string), "{001AFF}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 7) format(string, sizeof(string), "{FFFF00}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 😎 format(string, sizeof(string), "{FF6B00}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 9) format(string, sizeof(string), "{EB00FF}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 10) format(string, sizeof(string), "{590056}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 11) format(string, sizeof(string), "{8A8A8A}%s", CarVipName[playerid][idcar]);
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 12) format(string, sizeof(string), "{000000}%s", CarVipName[playerid][idcar]); //=
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 13) format(string, sizeof(string), "{28B2E0}%s", CarVipName[playerid][idcar]); //--- Adaugate de DrooM!
              else if(PlayerInfo[playerid][pCarVipColors][idcar] == 14) format(string, sizeof(string), "{F20C9A}%s", CarVipName[playerid][idcar]); //=
              DestroyObject(vObject[PlayerInfo[playerid][pCarID][idcar]]);
              vObject[PlayerInfo[playerid][pCarID][idcar]] = CreateObject(19327,0,0,-1000,0,0,0,100);
              SetObjectMaterialText(vObject[PlayerInfo[playerid][pCarID][idcar]], string, 0, OBJECT_MATERIAL_SIZE_256x128, "Comic Sans MS", 18, 1, 0xFFFFFFFF, 0, 1);
              if(PlayerInfo[playerid][pCarModel][idcar] == 411) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], -0.029999, -1.974998, 0.233999, -84.824964, 0.000000, 0.000000);
              else if(PlayerInfo[playerid][pCarModel][idcar] == 541) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -1.649998, 0.390999, -76.379989, 0.000000, 0.000000);
              else if(PlayerInfo[playerid][pCarModel][idcar] == 560) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -0.614999, 0.799999, -88.439956, 0.000000, 0.000000);
              else if(PlayerInfo[playerid][pCarModel][idcar] == 451) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -0.6, 0.56, 270.0, 0.0, 0.0);
              else if(PlayerInfo[playerid][pCarModel][idcar] == 480) AttachObjectToVehicle(vObject[PlayerInfo[playerid][pCarID][idcar]], PlayerInfo[playerid][pCarID][idcar], 0.000000, -1.58, 0.27, 270.0, 0.0, 0.0);
          }
          return 1;
      }
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.