17.11.2018, 21:24
(
Последний раз редактировалось kingmk; 18.11.2018 в 22:13.
)
I guess u get a spam of msg, and u want to show it just when all slots are unavaible (when bag it's full)
Код:
new i; for(i = 0; i < 10; i++) { if(Bag[playerid][i][Slot] == 0) { Bag[playerid][i][Slot] = 1279; Bag[playerid][i][Unity] = 100; return 1; } } if(i==10) SendClientMessage(playerid, -1, "Your bag is full.");