01.11.2014, 16:13
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 |
Код 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 { PlayerInfo[playerid][pMuerto] = 2; } else //<-- Йsta linea { PlayerInfo[playerid][pMuerto] = 3; } else //<--Йsta linea { PlayerInfo[playerid][pMuerto] = 4; }
Se supone que al morir cerca de un hospital, debe de aparecer en el cercano.