KrejzikCz 0 Posted June 17 Dobrý den chtěl pomoc ohledně rp chatu, mám problém s tím že neukazuje RP jména ale nicky hráčů. esx_identity mám povolený a už fakt nevím co s tím. Předem děkuji za pomoc. S pozdravem KrejzikCz. Share this post Link to post Share on other sites
0 czwader 8 Posted June 17 xPlayer.getName() >> GetPlayerName(playerId) Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 17 Zkusil jsem to a nepomohlo. Share this post Link to post Share on other sites
0 czwader 8 Posted June 17 Tak naopak jsem si to blbě přečetl srry Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 17 To jsem taky zkoušel a nejde to. Share this post Link to post Share on other sites
0 czwader 8 Posted June 18 Pošli odkaz na git toho rp chatu Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 18 Já na to git nemám, já jsem ten chat koupil od jednoho týpka. Share this post Link to post Share on other sites
0 czwader 8 Posted June 19 Bez source code ti nepomohu Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 19 Tak tady máš ten chat - https://mega.nz/file/505m1TbT#AmIpo7QoGEbhXvN_WNat0uMbOUPjrU8gJjCiM3yuPXc Předem děkuji. Share this post Link to post Share on other sites
0 czwader 8 Posted June 20 To jsi koupil ? To je pěkná mrdka chat každopádně jestli máš legacy esx tak všude kde je GetPlayerName funkce tak změn na xPlayer.getName() musí to fungovat a jestli ne tak máš chybu jinde Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 20 Ano to jsem koupil, změnil jsem to a teď to píše chybu SCRIPT ERROR: @hawai_rpchat/server/main.lua:44: attempt to index a nil value (global 'xPlayer') Share this post Link to post Share on other sites
0 czwader 8 Posted June 20 Nemáš nadefinovanou xPlayer proměnnou musíš si nadefinovat local xPlayer = ESX.GetPlayerFromId(source) Share this post Link to post Share on other sites
0 KrejzikCz 0 Posted June 20 (edited) Stále to nejde, tak asi bude problém někde jinde. Edited June 20 by KrejzikCz Share this post Link to post Share on other sites
Dobrý den chtěl pomoc ohledně rp chatu, mám problém s tím že neukazuje RP jména ale nicky hráčů. esx_identity mám povolený a už fakt nevím co s tím. Předem děkuji za pomoc.
S pozdravem KrejzikCz.
Share this post
Link to post
Share on other sites