Set Car Color v2 by [M3DGOD]king/Strong0123
SOURCE
{$CLEO .cs}
0B34: samp register_client_command ".SETCOLOR" to_label @NONAME_209
wait 3000
0AF8: samp add_message_to_chat "[SetCarColor]: {FFFFFF}Author {FF4444}[M3DGod]king{FFFFFF}." 0x4444FF
0@ = 0
:NONAME_25
wait 0
if
0@ == 1
else_jump @NONAME_25
if
Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_320
0@ = Actor.CurrentCar($PLAYER_ACTOR)
3@ = SAMP.GetSAMPVehicleIDByCarHandle(0@)
SAMP.SendSCMEvent(3@, COLOR, 5@, 8@)
0229: set_car 0@ primary_color_to 5@ secondary_color_to 8@
0@ = 0
SAMP.CmdRet
jump @NONAME_25
:NONAME_209
SAMP.IsCommandTyped(1@)
if
0AD4: 6@ = scan_string 1@ format "%D %D" 5@ 8@
else_jump @NONAME_263
0@ = 1
SAMP.CmdRet
jump @NONAME_25
:NONAME_263
0AF8: samp add_message_to_chat "[M3DGOD]KING : {44FF44}/.SETCOLOR {FF4444}<ID> <ID>" color 0x4444FF
0@ = 0
SAMP.CmdRet
jump @NONAME_25
:NONAME_320
0AF8: samp add_message_to_chat "[M3DGOD]KING : {FF4444}YOU MUST BE DRIVING!" color 0x4444FF
0@ = 0
SAMP.CmdRet
jump @NONAME_25
Hacked and decrypted by Mr.Ze
No comments:
Post a Comment