1. I know you can check your own storage value with = getPlayerStorageValue(cid, storage)
2. Or you can check your selected target's storage value with = getPlayerStorageValue(getCreatureTarget(cid), storage)
But how can I check the storage value of a player when I need to use his name to cast the spell and while he is NOT targeted? Example: exura sio "druid
I just want to check the storage value of a player when I cast exura sio on them.
+rep for whoever can help me
EDIT:
3. I have figured out a way to get this to work with TALKACTIONS. Can somone figure out a way for spells?
2. Or you can check your selected target's storage value with = getPlayerStorageValue(getCreatureTarget(cid), storage)
But how can I check the storage value of a player when I need to use his name to cast the spell and while he is NOT targeted? Example: exura sio "druid
I just want to check the storage value of a player when I cast exura sio on them.
+rep for whoever can help me
EDIT:
3. I have figured out a way to get this to work with TALKACTIONS. Can somone figure out a way for spells?
if(param ~= "") then
getPlayerStorageValue(getPlayerByName(param), storage)
Last edited: