i saw thread @springfield gave this line below but i have no clue how it will get nick name no struct no specific player handle or ID how it will show players nickname?
i need script
:nickname
if 0AA2: 0@ = loadLib "samp.dll" //samp base offset
then 0@ += 0x212A80
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stInfo
000A: 0@ + 0x3D9
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPools
000A: 0@ + 0x14
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPlayerPools
000A: 0@ + 0x0A //szLocalPlayerName
end
ret 1 0@
example:
:Get
0006: 1@ = 0
0A8D: 14@ = 0xB74490 size 4 vp 0
000A: 14@ + 4
0A8D: 14@ = 14@ size 4 vp 0
for 15@ = 0x0 to 0x8B00 step 0x100
0A8D: 16@ = 14@ size 1 vp 0
000A: 14@ + 1
if and
0029: 16@ > 0x0
001B: 0x80 > 16@
jf continue
005A: 16@ + 15@ //(int)
if 056D: ped 16@ defined
jf continue
if and
8118: ped 16@ dead
02CB: actor 16@ bounding_sphere_visible
jf continue
call @nickname 1 16@ _returnnickname here 30@
end
ret 0
:nickname
if 0AA2: 0@ = loadLib "samp.dll" //samp base offset
then 0@ += 0x212A80
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stInfo
000A: 0@ + 0x3D9
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPools
000A: 0@ + 0x14
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPlayerPools
000A: 0@ + 0x0A //szLocalPlayerName
end
ret 1 0@
i need script
:nickname
if 0AA2: 0@ = loadLib "samp.dll" //samp base offset
then 0@ += 0x212A80
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stInfo
000A: 0@ + 0x3D9
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPools
000A: 0@ + 0x14
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPlayerPools
000A: 0@ + 0x0A //szLocalPlayerName
end
ret 1 0@
example:
:Get
0006: 1@ = 0
0A8D: 14@ = 0xB74490 size 4 vp 0
000A: 14@ + 4
0A8D: 14@ = 14@ size 4 vp 0
for 15@ = 0x0 to 0x8B00 step 0x100
0A8D: 16@ = 14@ size 1 vp 0
000A: 14@ + 1
if and
0029: 16@ > 0x0
001B: 0x80 > 16@
jf continue
005A: 16@ + 15@ //(int)
if 056D: ped 16@ defined
jf continue
if and
8118: ped 16@ dead
02CB: actor 16@ bounding_sphere_visible
jf continue
call @nickname 1 16@ _returnnickname here 30@
end
ret 0
:nickname
if 0AA2: 0@ = loadLib "samp.dll" //samp base offset
then 0@ += 0x212A80
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stInfo
000A: 0@ + 0x3D9
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPools
000A: 0@ + 0x14
0A8D: 0@ = readmem 0@ sz 4 vp 0 //stPlayerPools
000A: 0@ + 0x0A //szLocalPlayerName
end
ret 1 0@