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

Solved Follow delete

Status
Not open for further replies.

beliar34

Member
Joined
Feb 28, 2012
Messages
307
Solutions
7
Reaction score
11
Why this script dosent work :
PHP:
function onFollow(cid, target)
	return not isCreature(target, "Trainer")
end
i dont have any bugs in console

TFS 3.5.0
 
isCreature(cid)

Has only one parameter.

Try:

LUA:
not(string.lower(getCreatureName(target)) == "trainer")
 
[12/05/2013 01:28:40] data/creaturescripts/scripts/script.lua:2: unfinished string near '")

- - - Updated - - -

ok i repair it

close thread
 
Status
Not open for further replies.
Back
Top