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

[TFS 1.0] Saying x to a NPC causes x monster to spawn (only if player has x StorageID)

Jaed Le Raep

★Gaeming★
Joined
Sep 3, 2007
Messages
1,298
Reaction score
446
I'm probably going to be flooding this board with requests..

Anyway, could someone create such a template for me please?
 
Code:
    local player = Player(cid)
    if msgcontains(msg, "test") and player:getStorageValue(12345) == 1 then
        Game.createMonster("Rat", {x = 1000, y = 1000, z = 7})
        player:setStorageValue(12345, 2)
    end
 
Last edited:
@Ninja I got this error:

7iLYq.png
 
Back
Top