Hello everybody!
So, I'm trying to give player special descriptions as they complete some quests...
For example I have this script:
It is just a test...
When I look at a char with that storage value I can see "he is a Test"
But, when I'm the one with the storage value and I look at myself, I just can't see "You are a Test"... It just returns a normal look "You see yourself...." .. No errors or whatever, "you are a test" just doesn't appear...
What is wrong with my code ?
Can someone please help me ?
Thanks a lot already
REP+
So, I'm trying to give player special descriptions as they complete some quests...
For example I have this script:
Lua:
function onLook(cid, thing, position, lookDistance)
local storage = 1443332
if isPlayer(thing.uid) and getPlayerStorageValue(thing.uid, storage) > 0 then
doPlayerSetSpecialDescription(thing.uid,'.\n'..(getPlayerSex(thing.uid) == 0 and 'She' or 'He')..' is an Orc')
end
if isPlayer(thing.uid) == cid then
doPlayerSetSpecialDescription(thing.uid,'.\n You are an Orc')
end
return true
end
It is just a test...
When I look at a char with that storage value I can see "he is a Test"
But, when I'm the one with the storage value and I look at myself, I just can't see "You are a Test"... It just returns a normal look "You see yourself...." .. No errors or whatever, "you are a test" just doesn't appear...
What is wrong with my code ?
Can someone please help me ?
Thanks a lot already
REP+