CLEO Help Cleo Write With Capital

CLEO related
Status
Not open for further replies.

ShaDow.v3

Member
Joined
Jan 9, 2016
Messages
13
Reaction score
0
when i try to use this script with /ver id its write with capital without writing his name !! what is the wrong with this script can someone help me?
Code:
{$CLEO}
 
0662: "Responsabil HITMAN Blue by ShaDow.v3"
thread "Responsabil HITMAN Blue by ShaDow.v3" 
wait 2500 
0B34: samp register_client_command "vcmd" to_label @cmd_42
0B34: samp register_client_command "ver" to_label @cmd_44
 
0AB1: call_scm_func @chatmsg 0
 

:cmd_42
SAMP.IsCommandTyped(20@)
chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Easy Responsabil HITMAN by ShaDow.v3 ]{FF9900}-------------------------------<"
chatmsg "{FF9900}>------{FFFFFF}Comenzi Responsabil Hitman{FF9900}------<"
chatmsg "{FFFFFF}*{33FF00}/ver id {FFFFFF}=> Verficator."
chatmsg "{FF9900}>-------------------------------------------------------------------------<"
SAMP.CmdRet()
 
:cmd_44
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/f %s  astept dovada prin PM a ultimului contract efectuat, ai 24h la dispozitie pentru a-l prezenta." 1@

 
else
    print "~y~/ver <id>" 2000
end
SAMP.CmdRet()

    

 
:cmd_43
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Text care va aparea in chat"
SAMP.CmdRet()
 
 
:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET 
0085: 1@ = 0@ // (int) 
1@ += 2203876 
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1 
0085: 2@ = 0@ // (int) 
2@ += 409616 
chatmsg "{FFFFFF}[RESPONSABIL CMD HITMAN BLUE by ShaDow.v3] {FFFF00}Comenzi scurte pentru Responsabili{FFFF00}." -1
chatmsg "{FFFF00}Foloseste {FFFFFF}[/vcmd] {FFFF00}pentru a vedea comenzile." -1
0AB2: ret 0
 

Mila.cs ✅

Well-known member
Joined
Jun 24, 2016
Messages
247
Reaction score
10
Location
̀́̀́
This is/are the problem(s).

Code:
0662: "Responsabil HITMAN Blue by ShaDow.v3"
thread "Responsabil HITMAN Blue by ShaDow.v3"
chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Easy Responsabil HITMAN by ShaDow.v3 ]{FF9900}-------------------------------<"
chatmsg "{FFFFFF}[RESPONSABIL CMD HITMAN BLUE by ShaDow.v3] {FFFF00}Comenzi scurte pentru Responsabili{FFFF00}." -1
 

ShaDow.v3

Member
Joined
Jan 9, 2016
Messages
13
Reaction score
0
Mila.cs ✅ said:
This is/are the problem(s).

Code:
0662: "Responsabil HITMAN Blue by ShaDow.v3"
thread "Responsabil HITMAN Blue by ShaDow.v3"
chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Easy Responsabil HITMAN by ShaDow.v3 ]{FF9900}-------------------------------<"
chatmsg "{FFFFFF}[RESPONSABIL CMD HITMAN BLUE by ShaDow.v3] {FFFF00}Comenzi scurte pentru Responsabili{FFFF00}." -1

how to fix it?
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
ShaDow.v3 said:
Mila.cs ✅ said:
This is/are the problem(s).

Code:
0662: "Responsabil HITMAN Blue by ShaDow.v3"
thread "Responsabil HITMAN Blue by ShaDow.v3"
chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Easy Responsabil HITMAN by ShaDow.v3 ]{FF9900}-------------------------------<"
chatmsg "{FFFFFF}[RESPONSABIL CMD HITMAN BLUE by ShaDow.v3] {FFFF00}Comenzi scurte pentru Responsabili{FFFF00}." -1

how to fix it?
 If you put to much letters in chatmsg you get crash...
 
Status
Not open for further replies.
Top