• 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!

Napis

Daxu

Banned User
Joined
Jun 18, 2010
Messages
336
Reaction score
9
Location
Poland
Potrzebuje pomocy w skrypcie
chodzi o to ze gdy player wbija 8 level to napis sie pokazuje chodzi mi o ten co na rl na rookgard jest Congratulations ..itp
 
sprecyzuj na czym polega pomoc, bo na razie to jest raczej request a nie

btw onAdvance+jesli adv to lvl +jesli newLevel==8
 
Code:
function onAdvance(cid, skill, oldLevel, newLevel)
local storage = getPlayerStorageValue(cid, 1340)
	if (skill == SKILL__LEVEL and newLevel == 8 and storage == -1) then
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "gz masz 8 lvl i koksisz.")
		setPlayerStorageValue(cid, 1340, 1)
    end
    return true
end
 
Nie wiesz jak sie pisze rzeczy, ktore sa komplentnymi podstawami. Ale nie martw sie sa dla Ciebie 3 wyjscia z tej trudnej sytuacji:

-otworz se pierwszy lepszy poradnik i po 5 min lektury nauczysz pisac takie i inne skrypty (ale musisz wykazac sie iq powyzej 20)
-trzecie wyjscie jest oczywiste
zeby post nie zostal uznany za offtopic, tudziez nasmiewania sie z Ciebie (bo tak nie jest, ja po prostu daje Ci dobra rade), powiem ze skrypty tego typu naleza do creaturescripts, a zeby takowe dzialaly musisz zarejestrowac je w pliku login.lua
 
Last edited by a moderator:
Nie dziala ten skrypt nic sie nie poajawia jak wbijam 8 lev ;/
 
Last edited:
Back
Top