GetWeaponId()
{
If(!checkHandles())
return 0
c := readDWORD(hGTA, ADDR_CPED_PTR)
If(ErrorLevel) {
ErrorLevel := ERROR_READ_MEMORY
return 0
}
id := readMemory(hGTA, c + 0x740)
If(ErrorLevel) {
ErrorLevel := ERROR_READ_MEMORY
return 0
}
return id
}
:lol:democrazy link said:ok i updated to 0.3.7 have fun
and added function setmarkers()
it will enable player markers blips
nah i want to read out the gun and other stuff with the dwRemoteplayerData, not with CPEDdemocrazy link said:but you can get weaponid by ped ?
CPed +0x740
/badd [id/name] --add someone to blacklist
/bdel [id/name] --delete somone from blacklist
/blist --show all players on blacklist