Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void GemaEstrelar(int clientid)
- {
- MOB *player = (MOB*)GetMobFromIndex(clientid);
- int addr_bclient = clientid * 0x0410;
- int itenslot = GetFirstSlotSADD(clientid,700,64);
- int cGemaX = PInt(addr_bclient + 0x15C69D8);
- int cGemaY = PInt(addr_bclient + 0x15C69DA);
- int cGemaX2 = 4000;
- int cGemaY2 = 4000;
- {
- PInt(addr_bclient + 0x15C69D8) = cGemaX2;
- PInt(addr_bclient + 0x15C69DA) = cGemaY2;
- else
- {
- SaveChar(1,clientid);
- SendClientMsg(clientid,"Posiçao foi salva.");
- player->Inventory[itenslot].Index = 0;
- SendALL(clientid);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement