xIFearlessIxx posted: (28th Jul 2010 10:06 pm)
Rofl. You've never compiled before... Sounds like you have no idea what your talking about when you were talking about the code...
I'm in a full helping mood, So you need to add your Linker settings. If you search the forums for compiling tutorials you'll find what you want.
EDIT: @ Addison, Shouldn't it look like this. "this->player->character->mapid);"
If you have it like: this->player->character->mapid You will get errors.
std::sprintf(mapbuf, "%05i",
std::abs(this->player->character->mapid
));
if you remove the bold, how will that give errors? it will be:
std::sprintf(mapbuf, "%05i", this->player->character->mapid);