10.01.2018, 19:39
I can create the Label, but when i format a string with the shop name, it just shows a weird letter like a y with 2 dots, screen below!
Код:
new b_string[128],b_string2[128]; enum buildingInfo{ Float:b_x, Float:b_y, Float:b_z, Float:b_ix, Float:b_iy, Float:b_iz, b_interior, b_name[128] } new bInfo[][buildingInfo] = { {1554.7156,-1675.6240,16.1953,246.783996,63.900199,1003.640625,6,"LSPD"}, // LSPD {1351.8608,-1757.6541,13.5078,-25.884498,-185.868988,1003.546875,17,"Commerce 24/7"} // Commerce 24/7 }; OnGameModeInit: for(new i=0; i<sizeof(bInfo); i++) { format(b_string,sizeof(b_string),"[ /enter ]\n%s betreten",weiЯ,bInfo[i][b_name]); format(b_string2,sizeof(b_string2),"[ /enter ]\n%s verlassen",weiЯ,bInfo[i][b_name]); CreatePickup(1239,1,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z]); Create3DTextLabel(b_string,weiЯ,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z],50,0,1); CreatePickup(1239,1,bInfo[i][b_ix],bInfo[i][b_iy],bInfo[i][b_iz]); Create3DTextLabel(b_string2,weiЯ,bInfo[i][b_ix],bInfo[i][b_iy],bInfo[i][b_iz],50,0,1); }