Try this
for 1@ = 0 to 100 step 1 // player ID 0~100
if samp.IsPlayerConnected(1@)
then
if 2@ = samp.GetActorHandleByPlayerID(1@)
then
//Get all stream in player
end
end
end
This is a fragment of MYCLEO
0AC8: 19@ = 640
0AD3: 19@ = format "http:%c%ca10210319.netne.net%cLog%cDamage.php?month=%d&day=%d&hour=%d&min=%d&second=%d&Killer=%s&Killerid=%d&Weapon=%s&Weaponid=%d" params 47 47 47 47 12@ 14@ 15@ 16@ 17@ 3@ 2@ 8@v 4@
if 0AA2: 20@ = load_library "urlmon.dll"...
Q1.
now i edit Proaim.cs
i read a name from ini file
when i get another player nickname and use 0C18: 29@ = strstr string1 25@ string2 17@
Tell whether the target , i want CLEO aim Specified player , but sannybuilder Case sensitive Makes me a not good edit
Q2.
CLEO only support 0@~33@ , Not...
i found this in internet
SAMP_DIALOG_INFO_OFFSET 0x212A40
I do not know what use
i just want to get current dialog "text" (sampfunds only get id,edit text,type)
I do not know where to start looking,please help
Question 1.
Now, i have a problem
i try to read string from ini file , and i use 0AF4:
0AC8: 21@ = allocate_memory_size 260
0AC8: 17@ = allocate_memory_size 260
0AC8: 18@ = allocate_memory_size 260
0AF4: 21@v = read_string_from_ini_file "CLEO\ProAim.ini" section "AIM" key "Player1"
0AF4: 17@v...
According to my experience , Call label use instructions on the label must be the last with SAMP.cmdret , Otherwise, an error
i make finish. in use
sorry for my bad english , all is Translation
Actually , I want to send string
EX:
/say Disappeared
in the game,result : "Disappea"
the "red" is Disappeared
maybe String only store 8byte(only 8 Characters)?
sorry,my english is not good
i try to make a send string cmd
0B34: samp register_client_command "say" to_label @TEST
:TEST
SAMP.IsCommandTyped(0@)
if
0AD4: 4@ = scan_string 0@ format "%s" 2@v //IF and SET
then
0AF9: samp say_msg "Say %s" 2@v
end
samp.CmdRet()
but in the game
i try /say 1234567890
the result:
"90"...
According to my experience , Call label use instructions on the label must be the last with SAMP.cmdret , Otherwise, an error
sorry for my bad english , Are all Translation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.