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

C++ isKnight()

Elgenady

Veteran OT User
Joined
Aug 5, 2011
Messages
1,637
Solutions
35
Reaction score
351
Code:
target->getCreature()->getStorage("170297", value);
need to edit this code to check player vocation to be like this
Code:
target->getCreature()->isKnight()||getStorage("170297", value);
but wont work idk why give this error
`getStorage' was not declared in this scope

tfs 0.4
 
Solution
Code:
target->getCreature()->getStorage("170297", value);
need to edit this code to check player vocation to be like this
Code:
target->getCreature()->isKnight()||getStorage("170297", value);
but wont work idk why give this error
`getStorage' was not declared in this scope

tfs 0.4
C++:
target->getCreature()->isKnight() || target->getCreature()->getStorage("170297", value);
Code:
target->getCreature()->getStorage("170297", value);
need to edit this code to check player vocation to be like this
Code:
target->getCreature()->isKnight()||getStorage("170297", value);
but wont work idk why give this error
`getStorage' was not declared in this scope

tfs 0.4
I don't know what are you exactly want to do., maybe can you post more information about what you need? or post the full code bellow.
 
Code:
target->getCreature()->getStorage("170297", value);
need to edit this code to check player vocation to be like this
Code:
target->getCreature()->isKnight()||getStorage("170297", value);
but wont work idk why give this error
`getStorage' was not declared in this scope

tfs 0.4
C++:
target->getCreature()->isKnight() || target->getCreature()->getStorage("170297", value);
 
Solution
Back
Top