!!
Kao gost imaš ograničen pristup forumu.Registracijom dobijaš pristup svim temama, možeš pisati poruke, učestvovati u diskusijama i biti dio naše zajednice.
Vas Problem : error 035: argument type mismatch (argument 4) Linija Koda : new playerName[50]; // Za čuvanje imena igrača format(playerName, sizeof(playerName), "%s", ImeIgraca(playerid)); // Formatiranje imena new tmpobjid, object_world, object_int; tmpobjid = CreateDynamicObject(7914, 1422.062744, -973.979187, 56.023708, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "DOBRODOSLI\n{7E60BF} %s", playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4) tmpobjid = CreateDynamicObject(7914, 1422.096801, -973.967773, 55.943721, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, "{000000}DOBRODOSLI\n %s", playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4) Dodatan Komentar : Pokazuje mi error na linijama za ime ,vjerovatno je problem u formatiranju ali ja ne znam popraviti Slika / Video :
new playerName[50]; // Za čuvanje imena igrača format(playerName, sizeof(playerName), "{000000}DOBRODOSLI\n %s", ImeIgraca(playerid)); // Formatiranje imena new tmpobjid, object_world, object_int; tmpobjid = CreateDynamicObject(7914, 1422.062744, -973.979187, 56.023708, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4) tmpobjid = CreateDynamicObject(7914, 1422.096801, -973.967773, 55.943721, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4)
new playerName[64]; // Za čuvanje imena igrača format(playerName, sizeof(playerName), "DOBRODOSLI\n{7E60BF} %s", ImeIgraca(playerid)); // Formatiranje imena new tmpobjid, object_world, object_int; tmpobjid = CreateDynamicObject(7914, 1422.062744, -973.979187, 56.023708, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4) format(playerName, sizeof(playerName), "{000000}DOBRODOSLI\n %s", ImeIgraca(playerid)); // Formatiranje imena tmpobjid = CreateDynamicObject(7914, 1422.096801, -973.967773, 55.943721, 0.000000, 0.000000, -15.200000, object_world, object_int, -1, 300.00, 300.00); SetDynamicObjectMaterialText(tmpobjid, 0, playerName, 130, "Arial", 30, 1, 0xFFFFFFFF, 0x00000000, 2); //error error 035: argument type mismatch (argument 4)