samuel157
/root
- Joined
- Mar 19, 2010
- Messages
- 518
- Solutions
- 3
- Reaction score
- 71
- Location
- São Paulo, Brazil
- GitHub
- Samuel10M
@Otlandserv no function.
add down of end registerCreatureEvent
local loginstorage = getPlayerStorageValue(cid, 9999)
setPlayerStorageValue(cid, 9999, loginstorage + 1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "It is yours " .. loginstorage + 1 .. " login to ots")
Thank you for edit. I was writing this code from memory with no functions on the table.He asked me for a private message and I corrected the script. I sent it to him and he tested it. The script worked correctly. It's already solved, OK.
for those who want to use the script .. enjoy and use your server
LUA:local loginstorage = getPlayerStorageValue(cid, 9999) setPlayerStorageValue(cid, 9999, loginstorage + 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "It is yours " .. loginstorage + 1 .. " login to ots")
Hahaha, I know this system is useless, I wouldn't use it, haha. just correcting the script he asked for.If I were you I would count it only once a day otherwise its kinda a useless system?
Imagine you relog all the time for some mins![]()