13.02.2017, 15:09
I still need help, I made some changes and now when you use the command dialog pops up and all businesses want cargo shows up, but when you click the first business it says "This business do not accept cargo" even if it does accept cargo.
When you click the second item it shows checkpoint for the first business and when you click third one, it shows checkpoint for second business on the list, so there is some stuff fucked up, anyone know how can I fix this?
When you click the second item it shows checkpoint for the first business and when you click third one, it shows checkpoint for second business on the list, so there is some stuff fucked up, anyone know how can I fix this?
Код:
Dialog:KKE(playerid, response, listitem, inputtext[]) { if (response) { new iyid = listitem; if (bInfo[iyid][bPI] == 0) return ERMSG(playerid, "This business do not accept cargo anymore."); SetPlayerCheckpoint(playerid, bInfo[iyid][bX],bInfo[iyid][bY],bInfo[iyid][bZ],3.0); } return 1; }