Skrypty & Kody Komunikat w konsoli

Status
Zamknięty.

Pokerman

User
Zarejestrowany
Dołączył
Styczeń 23, 2013
Posty
40
Liczba reakcji
2
Hej!
Mam pewien "problem", kiedy u?yj? transform/revert wyskakuje taki komunikat - http://scr.hu/0u8y/kmlkc
Oczywi?cie transform/revert dzia?a jak nale?y(czyli zmienia look, voce itd.), wcze?niej nic takiego si? nie pojawia?o, ale odk?d bawi?em si? troch? w creaturescripts(wszystko co doda?em, to usun??em), wyskakuje ten komunikat :/
Niby wszystko dzia?a, ale ten komunikat najzwyczajniej w ?wiecie denerwuje :P

Skrypt :[LUA]function onSay(cid, words, param)
if getPlayerVocation(cid) == 1000 and getPlayerLevel(cid) >= 30 then
doPlayerSetVocation(cid,1001)
doSetOutfit(cid, 49)
doPlayerSay(cid,revert,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,14)
doCombat(cid, combat, var)


else
doPlayerSendCancel(cid,"You probably need higher lvl!")
end
return 1
end[/LUA]
 
Odp: Komunikat w konsoli

Spr?buj tak:
[LUA]function onSay(cid, words, param)
if getPlayerVocation(cid) == 1000 and getPlayerLevel(cid) >= 30 then
doPlayerSetVocation(cid,1001)
doSetOutfit(cid, 49)
doPlayerSay(cid,'Revert',16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,14)
doCombat(cid, combat, var)


else
doPlayerSendCancel(cid,"You probably need higher lvl!")
end
return 1
end[/LUA]
 
Ostatnio edytowane przez moderatora:
Odp: Komunikat w konsoli

To samo.
Og?lnie to nie widz? r??nicy w skrypcie xD
 
Odp: Komunikat w konsoli

[LUA]function onSay(cid, words, param)
if getPlayerVocation(cid) == 1000 and getPlayerLevel(cid) >= 30 then
doPlayerSetVocation(cid,1001)
doCreatureChangeOutfit(cid, 49)
doPlayerSay(cid, "Revert", 16)
doSendMagicEffect(getPlayerPosition(cid),14)
else
doPlayerSendCancel(cid,"You probably need higher lvl!")
end
return 1
end[/LUA]

Notka moderatorska:
+1 OT Expert.
 
Ostatnio edytowane przez moderatora:
Odp: Komunikat w konsoli

Zmieni?em t? linijk?:
Kod:
doPlayerSay(cid,'Revert',16)

Spr?buj j? usun?? i zobacz czy dalej b?dzie b??d.
 
Odp: Komunikat w konsoli

Usun??em, ale b??d dalej wyst?puje.
Skrypt Danteza(usun?? linijk? doCombat(cid, combat, var)) dzia?a, dzi?ki :)
@Repki posz?y
 
Status
Zamknięty.
Back
Do góry