Exemplo n.º 1
0
 public function dropItem($gameId, $playerId, $itemId, $floatLat, $floatLong, $qty = 1)
 {
     Module::takeItemFromPlayer($gameId, $itemId, $playerId, $qty);
     Players::giveItemToWorld($gameId, $itemId, $floatLat, $floatLong, $qty);
     return new returnData(0, FALSE);
 }