Jump to content
  • 0

Eroare Pawno 2


DarkWolf

Question

Nick:  DarkWolf

Problema: Eroare Pawno

Erori / warnings:

C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(65) : error 010: invalid function or declaration
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2689) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2691) : warning 209: function "IsAtLicenseplace" should return a value
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2705) : error 001: expected token: "-identifier-", but found "("
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2708) : error 010: invalid function or declaration
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4770) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4770) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4774) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4774) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4786) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4786) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4790) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4790) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4794) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4794) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4798) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4798) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4802) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4802) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4806) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4806) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4810) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4810) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4822) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4822) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4826) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4826) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4830) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4830) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4834) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4834) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4838) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4838) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4850) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4854) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4858) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4858) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4870) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4870) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4870) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4870) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4870) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4874) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(4874) : warning 213: tag mismatch
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(9986) : fatal error 107: too many error messages on one line

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


7 Errors.
Lini/script: Linia 9986:
public OnObjectMoved(objectid)
{
	for( new playerid=0; playerid<=MAX_PLAYERS; playerid++)
	{
		if(objectid==platforma)
		{
			if(IsPlayerInRangeOfPoint(3,playerid,1549.0999755859, -1651.9000244141,90.36))
			{
		    	MoveDynamicObject(usadesus1, 1554.0999755859, -1656.6999755859, 29,4);
				MoveDynamicObject(usadesus2, 1554, -1651.2999755859, 29,4);
				SetTimer("InchideUsaDeSus",3000,0);
			}
			if(PTP(3,playerid,1549.0999755859, -1651.9000244141,12.36))                                                      <- 9986
			{
			    MoveDynamicObject(usadejos1,1549.1999511719, -1651.0, 14.300000190735,4);
			    MoveDynamicObject(usadejos2,1549.1999511719, -1656.5, 14.300000190735,4);
				SetTimer("InchideUsaDeJos",3000,0);
			}
		}
	}

	return 1;
}
Liniile 2689, 2691, 2705 si 2708:
public IsAtLicenseplace(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, Float:362.4653, Float:173.7711, Float:1008.3828))                      <-2689
	return 1;
}

public RACtime(playerid)
{
      for(new player=0; player<MAX_PLAYERS; player++)
      {
      if(!IsVehicleOccupied(player)) SetVehicleToRespawn(player);
      }
      for(new car = 1; car < sizeof(CarInfo); car++)
      {
          if(!IsVehicleOccupied(car)) SetVehicleToRespawn(car);
      }
}

public AntiSpam(playerid)                                                                                   <- 2705
{
	RecentlyShot[playerid] = 0;
	return 1;                                                                                                      <- 2708
}
Liniile 4770 - 4874
        if(IsPlayerInRangeOfPoint(25.0,playerid,207.737991,-109.019996,1005.132812) || IsPlayerInRangeOfPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
		{//Binco & Suburban
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || IsPlayerInRangeOfPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
		{//Zip & Victim
		    return 1;
		}
	}
	return 0;
}

public IsAtGasStation(playerid)
{
    if(IsPlayerConnected(playerid))
	{
	if(IsPlayerInRangeOfPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
		{//LS
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
		{//LS
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
		{//SF
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
		{//Between LS and SF
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(10.0,playerid,614.9333,1689.7418,6.6968))
		{//LV
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(6.0,playerid,70.3882,1218.6783,18.5165))
		{//LV
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(8.0,playerid,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
		{//LV
		    return 1;
		}
	}
	return 0;
}

public IsAtFishPlace(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    if(IsPlayerInRangeOfPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || IsPlayerInRangeOfPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
		{//Fishplace at the bigwheel
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || IsPlayerInRangeOfPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
		{//Fishplace at the bigwheel
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || IsPlayerInRangeOfPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
		{//Fishplace at the bigwheel
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || IsPlayerInRangeOfPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
		{//Fishplace at the bigwheel
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || IsPlayerInRangeOfPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
		{//Fishplace at the bigwheel
		    return 1;
		}
	}
	return 0;
}

public IsAtCookPlace(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    if(IsPlayerInRangeOfPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
	    {//Cluckin Bell
	        return 1;
	    }
	    else if(IsPlayerInRangeOfPoint(3.0,playerid,378.4672,-68.4609,1001.5151))
		{//Burgershot
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || IsPlayerInRangeOfPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
		{//Well Stacked Pizza
		    return 1;
		}
	}
	return 0;
}

public IsAtBar(playerid)
{
    if(IsPlayerConnected(playerid))
	{
		if(IsPlayerInRangeOfPoint(4.0,playerid,495.7801,-76.0305,998.7578) || IsPlayerInRangeOfPoint(4.0,playerid,499.9654,-20.2515,1000.6797) || IsPlayerInRangeOfPoint(4.0,playerid,-81.5950,115.4813,4007.0945) || IsPlayerInRangeOfPoint(4.0,playerid,1561.9929,-1695.0873,28.3956) || IsPlayerInRangeOfPoint(4.0,playerid,1765.3066,-1921.0627,13.5668))
		{
		    return 1;
		}
		else if(IsPlayerInRangeOfPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || IsPlayerInRangeOfPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))
		{

Ai incercat sa rezolvi singur ?: da, dar nu am reusit

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • 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.