11.02.2016, 19:39
hey, why system don't skip first part of script if he false ?
Код:
if(playerData[playerid][DMZONE])
{
if(playerData[killerid][GuyInDMONE])
{
SetPlayerPos(killerid, -62.0927,2473.2788,16.4844);
SetPlayerPos(playerid, -62.0927,2473.2788,16.4844);
}
else if(playerData[killerid][GuyInDMTWO])
{
SetPlayerPos(killerid, -62.0927,2473.2788,16.4844);
SetPlayerPos(playerid, -62.0927,2473.2788,16.4844);
}
else if(!playerData[playerid][DMZONE])
{
print("else if DMZONE false skip DMZONE true and move to hospital");
playerData[playerid][HPTIME] = 60;
playerData[playerid][HPINSITE]= 1;
MoveToHospital(playerid);
}
}
return 1;

