This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function newLevel() { | |
// masuk ke level | |
clientMessage("MMPEI, Minecraft/ Minecraft PE Indonesia"); | |
clientMessage("Farhan Abdullah Spensaka"); | |
if(1-2>=0||3<4) clientMessage("1 dikurang 2 itu lebih besar dari 0, 3 itu lebih kecil daripada 4"); | |
if(3!=2==4+5) { | |
clientMessage("3 nggak bisa di jumlah ke 2, dan 4 di tambah 5 sama dengan 9"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function newLevel() { | |
setPosition(getPlayerEnt(), Player.getX(), Player.getY()+1, Player.getZ()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
int main() { | |
ofstream fileTXT; | |
fileTXT.open("filecontoh.txt"); | |
fileTXT << "Teks disini\n"; | |
fileTXT.close(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
// Tanda ini berarti komentar atau tanda teks yg diabaikan | |
/* Ini juga sama kayak yg tadi */ | |
using namespace std; // kita mempergunakan namespace utk tidak memakai tanda "::" | |
int main() { | |
cout << "MMPEI, Minecraft/ Minecraft Pocket Edition Indonesia" << endl; // ini akan menampilkan tulisan | |
cout << "Farhan Abdullah Spensaka" << endl; | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <jni.h> | |
#include <dlfcn.h> | |
#include <string.h> | |
#include <string> | |
#include "mcpelauncher.h" | |
using namespace std; | |
string (*VersiAsli)(void* gusti); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ModPE Indo API | |
function buatPesanClient(isiPesan) { | |
clientMessage(isiPesan); | |
} | |
function terapkanPosisi(idEnt,posX,posY,posZ) { | |
setPosition(idEnt,posX,posY,posZ); | |
} | |
function memperolehWujudPemain() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// byteandahalf tiny hook | |
// ini bukan buatan gw | |
#include "sys/mman.h" | |
void tiny_hook(uint32_t* addr, uint32_t hook) { | |
bool thumb = (uint32_t)addr & 1; | |
if(thumb) | |
addr = (uint32_t*) ((uint32_t) addr - 1); | |
mprotect(addr, 9, PROT_READ | PROT_WRITE); | |
*addr = (uint32_t) (thumb)? 0xF000F8DF : 0xE51FF008; // LDR PC, [PC] di Thumb trus LDR PC, [PC, #-8] di ARM. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Vector2D | |
{ | |
public: | |
float x; | |
float y; | |
Vector2D() {} | |
Vector2D(float r, float s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code is licensed with: GPL or LGPL | |
#include <cmath> | |
#include <iostream> | |
template <class T> | |
class Vector3 | |
{ | |
public: | |
T x, y, z; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <Windows.h> | |
const DWORD WCA_ACCENT_POLICY = 19; | |
enum ACCENT_STATE | |
{ | |
ACCENT_DISABLED = 0, | |
ACCENT_ENABLE_GRADIENT = 1, |
OlderNewer