• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

|PLAYERNAME| w skrypcie lua

experienced

Intermediate OT User
Joined
Jan 13, 2011
Messages
418
Reaction score
102
Location
Poland
siema
jak ma być zriobione żeby pokazywało nick gracza bo to |PLAYERNAME| nie działa w skrypcie lua bo mam itemek onuse i komunikat wyskakujący chce z nickiem gracza jak sie tego użyje
wiem jestem noobem
 
Coś takiego:
Code:
doPlayerSendTextMessage(cid, 22, 'Witaj ' .. getCreatureName(cid) .. '!')
Funkcja getCreatureName służy do pobierania nicku gracza.
 
Mój błąd, użyj czegoś takiego:
Code:
doCreatureSay(cid, 'Witaj ' .. getCreatureName(cid) .. '!', TALKTYPE_MONSTER)
 
Back
Top