[Ajuda] GetPlayerDistanceFromPoint
#6

deu esses warings

warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
(82 : warning 213: tag mismatch
(82 : warning 213: tag mismatch
(82 : warning 213: tag mismatch
(829) : warning 213: tag mismatch
(829) : warning 213: tag mismatch
(829) : warning 213: tag mismatch
(830) : warning 213: tag mismatch
(830) : warning 213: tag mismatch
(830) : warning 213: tag mismatch
(831) : warning 213: tag mismatch
(831) : warning 213: tag mismatch
(831) : warning 213: tag mismatch
(832) : warning 213: tag mismatch
(832) : warning 213: tag mismatch
(832) : warning 213: tag mismatch


nessas linhas
{1172.5897,-1323.2572,15.4028},//coloca as coordenadas do hospital, voce poderб ausa-las para setar a posicao (veja mais abaixo)
{2029.7606,-1402.9940,17.2528},
{-2664.5527,637.2999,14.4531},
{-316.1042,1053.5287,20.3103},
{1607.4232,1817.7029,10.8203},
{-2202.5264,-2308.6250,31.2086}
};
new Float:menordistancia=0xFFFFFF;//16777215 em decimal
new Float:distactual;
new hospital;

for(new nh=0;nh!=TOTAL_DE_HOSPITAIS;nh++) {
distactual = GetPlayerDistanceFromPoint(playerid,poshospital[nh][0],poshospital[nh][1],poshospital[nh][2]);
if (distactual<menordistancia) {
menordistancia=distactual;
hospital=nh;
Reply


Messages In This Thread
GetPlayerDistanceFromPoint - by iCracker - 15.06.2013, 01:37
Re: GetPlayerDistanceFromPoint - by lucasgolino - 15.06.2013, 03:45
Re: GetPlayerDistanceFromPoint - by iCracker - 15.06.2013, 08:29
Respuesta: GetPlayerDistanceFromPoint - by DartakousLien - 15.06.2013, 13:56
Re: GetPlayerDistanceFromPoint - by iCracker - 15.06.2013, 23:10
Re: GetPlayerDistanceFromPoint - by iCracker - 15.06.2013, 23:19
Re: GetPlayerDistanceFromPoint - by iCracker - 17.06.2013, 00:56
Respuesta: GetPlayerDistanceFromPoint - by DartakousLien - 17.06.2013, 23:26
Re: Respuesta: GetPlayerDistanceFromPoint - by Lucas_Pawno - 17.06.2013, 23:32

Forum Jump:


Users browsing this thread: 2 Guest(s)