D
Deleted member 49793
Guest
Talaturen mind reading/replying to my question please?
Talaturen mind reading/replying to my question please?
Are you using MySQL or SQLite?
function onSay(cid, words, param)
use the param var
I know how to use it. the only thing is that the talkaction isn't doing anything if i anything ingame like an example "/talkaction" works because it's nothing in param and the talkaction is executed but if i need to use param like "/talkaction param" nothing happens it's not executed. theres no errors nothing. i hope you undestand my problem.
/talkaction "param
/talkaction param
cc1plus: warnings being treated as errors
otserv.cpp: In function 'void badAllocationHandler()':
otserv.cpp:237: error: ignoring return value of 'char* fgets(char', int, FILE*)', declared with attribute warn_unused_result
make: *** [otserv.o] Error 1
C:\Documents and Settings\Serwer1\Pulpit\forgottenserver-0.2.9.r89\0.2.9.r89\player.cpp In member function `bool Player::tameMount(uint8_t)':
4815 C:\Documents and Settings\Serwer1\Pulpit\forgottenserver-0.2.9.r89\0.2.9.r89\player.cpp [Warning] converting to `int32_t' from `double'
C:\Documents and Settings\Serwer1\Pulpit\forgottenserver-0.2.9.r89\0.2.9.r89\mounts.cpp In member function `bool Mount::isTamed(Player*) const':
46 C:\Documents and Settings\Serwer1\Pulpit\forgottenserver-0.2.9.r89\0.2.9.r89\mounts.cpp [Warning] converting to `int32_t' from `double'
value = pow(2, mountId % 31);
int32_t tmp = pow(2, tmpId % 31);
value = pow(2, mountId % 31);
value = static_cast<int32_t>(pow(2, mountId % 31));
int32_t tmp = pow(2, tmpId % 31);
int32_t tmp = static_cast<int32_t>(pow(2, tmpId % 31));