• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Własny nick w rozmowie z npc

Erazma

Banned User
Joined
Sep 3, 2012
Messages
265
Reaction score
4
Wiecie może ziomale jak zrobić zeby npc mi zareagował jesli napisze swoj nick ?

if msgcontains(msg, '"..getPlayerName(cid).."') and talkState[talkUser] == 1 then
 
Mam dla Ciebie rade. Na koniec każdego tygodnia intensywnych przemyśleń załóż zbiorczy temat z X pytaniami.
 
Chyba tak zrobię...
Gdyby tak zliczyć moje pytania... problemy wpisać je w jeden temat to byłby dobry poradnik...
 
Last edited:
Wiecie może ziomale jak zrobić zeby npc mi zareagował jesli napisze swoj nick ?

if msgcontains(msg, '"..getPlayerName(cid).."') and talkState[talkUser] == 1 then

no i głuptasie zrobiłeś PRAWIE dobrze

bo zrobiłeś: '" a powinienś: "" :D


ale niewiem po chuj, wystarczy, że zrobisz :
if msgcontains(msg, getPlayerName(cid)) then
 
Back
Top