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

Enabled/Disabled Script

Garndalf

New Member
Joined
Jul 31, 2008
Messages
89
Reaction score
0
C++

combat.cpp
In static member function 'static bool Combat::isProtected(Player*, Player*)':
invalid conversion from 'int' to 'const char*'
initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
invalid conversion from 'int' to 'const char*'
initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'


player.cpp
error: invalid conversion from 'int' to 'const char*'
player.cpp:240: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'



I Got Error When I Try to compile Those Files

http://otland.net/f35/pvp-enabled-disabled-74132/
PVP ENABLED/DISABLED

Help me please dont know why i got that error
 
Last edited:
Back
Top