15.01.2014, 15:47
Код:
public OnPlayerEscapeDMZona(playerid,back) { if(gPlayerLogged[playerid] != 1) return 1; if(back == 0){} else { if(PlayerInfo[playerid][pDM] == 1) { SCM(playerid,ZUTA,"[OOC DM Zona] Vraceni ste nazad!Ukoliko zelite napustiti OOC DM Zonu koristi /dmexit!"); SetPlayerPos_H(playerid,424.3157,2536.3532,15.6639); DMBjezanje[playerid] = 0; } if(PlayerInfo[playerid][pDM] == 2) { SCM(playerid,ZUTA,"[OOC DM Zona] Vraceni ste nazad!Ukoliko zelite napustiti OOC DM Zonu koristi /dmexit!"); SetPlayerPos_H(playerid,-723.9285,2338.4038,126.1309); DMBjezanje[playerid] = 0; } } return 1; }