:bawww: THIS is exactly that what i did!
like i said, it returns only the first charaker from Name and ip...
I can't understand it...
Typed this(C&P): http://i.imgur.com/mR7ZDSR.png
This was returned: http://i.imgur.com/lQ9qjcc.png
:forever_opcode_alone:
sry...
{$CLEO}
if
not 29@ = samp.Base()
then
end_thread
else
while not samp.Available()
wait 0
end
end
0B34: samp register_client_command "nickip" to_label @nick
while true
wait 0
end
:nick
wait 0
if 0B35: samp 1@ = get_last_command_params
then
...
ok got it.
0AD4: 2@ = scan_string 1@ format "%s %s %d" 5@v 10@v 4@
5@v is returning the first char from my entry (Typed "User123" and it returns "U")
and 10@v returns also the first char too(Typed "127.0.0.1" and it returns "1")
Ok. this is a lil confusing..
Can anyone explain?
Got this Opcode.exe thanks!
Thanks spring. but i want to know and understand what's wrong with my code now:
I typed "/nickip User123 127.0.0.1 5678"
it returns this: http://i.imgur.com/eRKgA80.png
Aaaand this is my code so far:
if 0B35: samp 1@ = get_last_command_params
then
0AC8...
Hey
Igotthiscleofromhere: http://ugbase.eu/releases-6/nickchanger-cs-0-3z/
I want to make it possible to change the ip...
Example: /nick NICKNAME IP PORT
How can I do that?
Script so far(not from me)
{$CLEO}
if
not 29@ = samp.Base()
then
end_thread
else
while not samp.Available()
...
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.