їPor quй me da errores estб linea?
#1

їPor quй?

Код:
	new pvid = -1, Float: x, Float: y, Float: z;
	for(new d = 0 ; d < MAX_VEHICLES; d++)
	{
		if(Veh[playerid][d][pvid] != INVALID_PLAYER_VEHICLE_ID) GetVehiclePos(Veh[playerid][d][vModelo], x, y, z);
		if(IsPlayerInRangeOfPoint(playerid, 3.0, x, y, z))
		{
			pvid = d;
			break;
		}
	}

Estб lнnea "if(Veh[playerid][d][pvid] != INVALID_PLAYER_VEHICLE_ID) GetVehiclePos(Veh[playerid][d][vModelo], x, y, z);
" 

:

error 001: expected token: ")", but found "["
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
Reply
#2

Esos son fбciles de solucionar.

http://pawnscript.foroactivo.com/t35...mas-frecuentes
Reply
#3

Quote:
Originally Posted by xSeveNx
Посмотреть сообщение
La leн, solucionй otras cosas apartes gracias a esa guнa pero me siguen esos errores.
Reply
#4

Quote:
Originally Posted by Fagrinht
Посмотреть сообщение
La leн, solucionй otras cosas apartes gracias a esa guнa pero me siguen esos errores.
Mostranos tu array de "Veh[...][...][...]".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)