Yop all ,
Quelques script que j'ai update
:
public static int get_hash_key(string input)
{
return RPC.Call(0x0012028, new object[] { input });
}
public static int player_id()
{
return RPC.Call(0x031A1F0, new object[] { 0 });
}
public static int player_ped_id()
{
return RPC.Call(0x03B3520, new object[] { 0 });
}
public static int get_player_ped_id(int index)
{
return RPC.Call(0x0420000, new object[] { index });
}
public string get_player_name(int id)
{
uint offset = (uint)RPC.Call(0x038B3FC, new object[] { id });
byte[] nameBytes = PS3.GetBytes(offset, 0x10);
byte[] bytes = ((IEnumerable<byte>)nameBytes).TakeWhile<byte>(((Func<byte, int, bool>)((v, index) => ((IEnumerable<byte>)nameBytes).Skip<byte>(index).Any<byte>(w => (w != 0))))).ToArray<byte>();
return (!(Encoding.ASCII.GetString(bytes) != "") ? "Aucun Joueur détecter" : (((bytes[0] < 0x41) || (bytes[0] > 0x7a)) ? "" : Encoding.ASCII.GetString(bytes)));
}
Crédit : Ryad For All Offset , Tustin for base & Krank
Quelques script que j'ai update
public static int get_hash_key(string input)
{
return RPC.Call(0x0012028, new object[] { input });
}
public static int player_id()
{
return RPC.Call(0x031A1F0, new object[] { 0 });
}
public static int player_ped_id()
{
return RPC.Call(0x03B3520, new object[] { 0 });
}
public static int get_player_ped_id(int index)
{
return RPC.Call(0x0420000, new object[] { index });
}
public string get_player_name(int id)
{
uint offset = (uint)RPC.Call(0x038B3FC, new object[] { id });
byte[] nameBytes = PS3.GetBytes(offset, 0x10);
byte[] bytes = ((IEnumerable<byte>)nameBytes).TakeWhile<byte>(((Func<byte, int, bool>)((v, index) => ((IEnumerable<byte>)nameBytes).Skip<byte>(index).Any<byte>(w => (w != 0))))).ToArray<byte>();
return (!(Encoding.ASCII.GetString(bytes) != "") ? "Aucun Joueur détecter" : (((bytes[0] < 0x41) || (bytes[0] > 0x7a)) ? "" : Encoding.ASCII.GetString(bytes)));
}
Crédit : Ryad For All Offset , Tustin for base & Krank
Dernière édition: