SA-MP Forums Archive
error 029: invalid expression ЎAyuda! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 029: invalid expression ЎAyuda! (/showthread.php?tid=544368)



error 029: invalid expression ЎAyuda! - tecsharp - 01.11.2014

Quote:

C:\Users\Tecsharp\Desktop\Respaldo CPU\SERVIDORES GTA\NUEVO\gamemodes\mundotec.pwn(10877) : error 029: invalid expression, assumed zero
C:\Users\Tecsharp\Desktop\Respaldo CPU\SERVIDORES GTA\NUEVO\gamemodes\mundotec.pwn(10881) : error 029: invalid expression, assumed zero

Йste es el problema que me da al compilar y estas son las lineas:

Код HTML:
    if(PlayerInfo[playerid][pMuerto] == 0 /*&& AdminDuty[playerid] == 0*/) //Sistema de muerte
	{
	    GetPlayerPos(playerid, MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid]);
	    MuertoInt[playerid] = GetPlayerInterior(playerid), MuertoVW[playerid] = GetPlayerVirtualWorld(playerid); //-2653.3765, 629.7842, 13.4351
	    if(GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1182.8728, -1323.5931, 13.5783) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 2002.5728, -1445.3669, 13.5616) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], -2653.3765, 629.7842, 13.4351) > GetDistance(MuertoX[playerid], MuertoY[playerid], MuertoZ[playerid], 1602.0519,1819.3652,10.8280))
        
		{
	    	PlayerInfo[playerid][pMuerto] = 1;
		}
		else //<-- Йsta linea | This line
 		{
	    	PlayerInfo[playerid][pMuerto] = 2;
	        }
	        else //<-- Йsta linea | This line
		{
			PlayerInfo[playerid][pMuerto] = 3;
		}
		else
		{
			PlayerInfo[playerid][pMuerto] = 4;
        }
ЎAyuda por favor!
Se supone que al morir cerca de un hospital, debe de aparecer en el cercano.


Re: error 029: invalid expression ЎAyuda! - DanishHaq - 01.11.2014

You have to speak English in this section. Check this category for your language, they would be able to help you in your own language (I'm guessing Spanish): http://forum.sa-mp.com/forumdisplay.php?f=33


Re: error 029: invalid expression ЎAyuda! - tecsharp - 01.11.2014

Hey, thank's <3


Re: error 029: invalid expression ЎAyuda! - Rudy_ - 01.11.2014

What the hell is Ajuda or Ayuda? I hear it everywhere.


Re: error 029: invalid expression ЎAyuda! - tecsharp - 01.11.2014

Ayuda is help in english