13.04.2019, 15:49
CODE:
my brain just blocked lmao
https://imgur.com/BgNfvrP and the string when I print it is that letter y.
Code:
CMD:vipboja(playerid, const params[]) { if(vip_Info[playerid][VIPBodovi] <= 0) return SendClientMessage(playerid, vip_Info[playerid][VIPBoja], "VIP | {FFFFFF}Nemate VIP bodova."); extract params -> new string:vipboja[11]; else { return SendClientMessage(playerid, vip_Info[playerid][VIPBoja], "VIP | {FFFFFF}/vipboja (boja - primjer 0x8b9940FF)"); } strins(vipboja, vip_Info[playerid][VIPBodovi], 0); vip_Info[playerid][VIPBodovi] --; format(game_string, sizeof(game_string), "VIP | {FFFFFF}Postavili ste sebi VIP boju na %s.", vipboja); SendClientMessage(playerid, vip_Info[playerid][VIPBoja], game_string); game_string[0] = EOS; format(game_string, sizeof(game_string), "VIP | {FFFFFF}Trenutni VIP bodovi %i", vip_Info[playerid][VIPBodovi]); SendClientMessage(playerid, vip_Info[playerid][VIPBoja], game_string); game_string[0] = EOS; return true; }
https://imgur.com/BgNfvrP and the string when I print it is that letter y.