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

3 things

Kedor

New Member
Joined
Mar 3, 2008
Messages
263
Reaction score
0
Location
Poland, Gdynia
1.<solved> (thanks to nightmare)
2. can i add "Exhaus" to use function? i created item which hits you 10 dmg if you use it but i can use it 120193 times in 1 sec :S :P
3. it is possible to "doPlayerSendTextMessage" (the green one like "its empty") to write it in some lines?
example
You Have first bless
you have second bless
etc...
 
Last edited:
1.

Code:
if getPlayerBlessing(cid, [COLOR=Red][B]blessNumber[/B][/COLOR]) then
    -- player have the bless
else
    -- player don't have the bless
end

blessNumber can be 1, 2, 3, 4 or 5.
 
2. Just use Alreth's exhaust function:
PHP:
if exhaust(cid, storagevalue, seconds_exhaust) == 1 then
    -- no exhaust
else
    -- you are exhausted
end

3. You got two ways:
PHP:
myString = "First Line\nSecond Line\nLast Line"

Other way:
PHP:
myString = [[
First Line
Second Line
Last Line]] -- remember to close the ]] at the last line, not under it!

:)
 
Back
Top