Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
672 B
5
Indexable
Never
#define         LOADING_TIMER_ROBMARKET     (6150)


public LoadingProgress(playerid,loadingid,speed) {
    case LOADING_TIMER_ROBMARKET: 
	{
		if(!IsPlayerInRangeOfPoint(playerid, 2.0, 1923.53699, -1852.89136, 13.80000)) {
			SendClientMessage(playerid, COLOR_LIGHTRED, "Ban da that bai trong viec thuc hien vu cuop sieu thi, do ban di ra khoi khu vuc be khoa ket sat.");
			robMarketDelete(playerid);
			hide_loading(playerid);
			return 1;
		}
		ApplyAnimation(playerid,"BD_FIRE", "wash_up",4.0,0,0,0,0,0,1);
	}
    return 1;
}

public OnLoadingFinish(playerid,loadingid) {
    case LOADING_TIMER_ROBMARKET: {
		robMarket_Start(playerid);
		return 1;
	}
    return 1;
}
Leave a Comment