Resource icon

CLEO Release [/mgbull] Bullet PRO (0.3.7 UPDATE) [HOT]

CLEO related
Status
Not open for further replies.

KingOfZion

Well-known member
Joined
Feb 20, 2013
Messages
208
Reaction score
4
Re: Bullet PRO

BulletPRO v3.0 is out. :youdontsay:

Addition: /tarbull [ID]

Обновления:

    1.0 - Публичный релиз.
    2.0 - Добавлена синхра  о попадании пули в траснспорт.
    2.1 - Оптимизация. Теперь скрипт не отправляет синхру, если человек за стеной. + багофикс
    2.2 - Исправил баг, при котором скрипт не работал.
    3.0 - Добавлена команда /tarbull id - атакует игрока с указанным идом.

Update by mgmoldova.
 

Attachments

  • BulletPRO v3.0.rar
    1.8 KB · Views: 210

Simon98

Well-known member
Joined
Feb 18, 2014
Messages
287
Reaction score
0
Re: Bullet PRO

KingOfZion link said:
BulletPRO v3.0 is out. :youdontsay:

Addition: /tarbull [ID]

Обновления:

    1.0 - Публичный релиз.
    2.0 - Добавлена синхра  о попадании пули в траснспорт.
    2.1 - Оптимизация. Теперь скрипт не отправляет синхру, если человек за стеной. + багофикс
    2.2 - Исправил баг, при котором скрипт не работал.
    3.0 - Добавлена команда /tarbull id - атакует игрока с указанным идом.

Update by mgmoldova.

I Crash every time i Enter SAMP after the Loading Screen  :youdontsay:

YES,I have SAMP-FUNC 3.0v
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: Bullet PRO

New 3.0 now has a /tarbull [ID] command, that's pretty much it. You can target a specific player.


Now, an option shoot-through-wall would be nice.
 

raadh

Member
Joined
Feb 23, 2014
Messages
16
Reaction score
0
Re: Bullet PRO

Where can i download SAMP funcs 3.0 ? :D
 

Vebbern

Member
Joined
Feb 22, 2014
Messages
21
Reaction score
0
Re: Bullet PRO

When I type /mgbull in chat it says unknown command.
 

priktakias

Active member
Joined
Jul 24, 2013
Messages
67
Reaction score
0
Re: Bullet PRO

Used to work for me but now it doesnt! WTF? i got sampfuncs 3.0 and suddenly one time it stopped working any help?
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: [/mgbull] Bullet PRO

Moldova, you should add configurable .ini where we could add exceptions to Bullet PRO (MG Bullet) so we don't kill everyone around us (/mgbull does everyone) and yet we kill multiple people at the same time (/tarbull does only one).
 

mgmoldova

Active member
Joined
Mar 20, 2013
Messages
37
Reaction score
0
Re: [/mgbull] Bullet PRO

Update. Fixed bug with /tarbull

Sourse code
Code:
{$CLEO}
{$Include includes\RakNetDefines.txt}
thread "mgmoldova"


wait 10000


0B34: samp register_client_command "mgbull" to_label @cmd
0B34: samp register_client_command "tarbull" to_label @tarbull


:start
while true
wait 0
                        if 30@ == 1
                        then    
                            for 0@ = 0 to 999
                                if Samp.IsPlayerConnected(30@)
                                then
                                 0B20: samp 9@ = actor_handle_by_samp_player_id 0@
                                 if 056D:   actor 9@ defined
                                    then 
                                      if 0ab0: 1   ////////
                                      then
                                      
                                    if not Actor.Driving(9@)
                                    04C4: store_coords_to 10@ 11@ 12@ from_actor 9@ with_offset 0.0 0.0 0.0
                                    call @aim 3 10@ 11@ 12@
                                    then call @bulldata 2 type 1 hitid 0@

                                    0AD1: show_formatted_text_highpriority "~G~[acheats.ru] ~B~Send bullets to player [%d]" time 60 0@
                                     wait 40
                                     else
                                     //CAR
                                    03C0: 7@ = actor 9@ car
                                    0B2C: samp 8@ = get_vehicle_id_by_car_handle 7@
                                    call @bulldata 2 type 2 hitid 8@
                                    0AD1: show_formatted_text_highpriority "~G~[acheats.ru] ~r~Send bullets to ___car [%d]" time 60 8@
                                     end
                                       
                                   
                                     end
                                    end
                                end
                            end
                        end

        //TarBull                        
        if 31@ == 1
         then
         wait 30
        
        if  856D:   actor 27@ defined
        then
        message "Player is not streamed!" 0xAAAAAA
        31@ = 0
        jump @start
        end  
        call @aim 3 10@ 11@ 12@
        call @bulldata 2 type 1 hitid 29@
        end
                  
end

:cmd
0B12: 30@ = 30@ XOR 1
if 30@ == 1
then message "[ACHEATS.RU]: {EAEAEA}mgBull {FFFFFF}| {8156CC}State: {279B61}ON" 0x8156cc 
else message "[ACHEATS.RU]: {EAEAEA}mgBull {FFFFFF}| {8156CC}State: {993333}OFF" 0x8156cc 
end
Samp.CmdRet()      


:tarbull
0B35: samp 28@ = get_last_command_params
31@ = 0
if 0AD4: 4@ = scan_string 28@ "%d" 29@
then if Samp.IsPlayerConnected(29@)
then 27@ = Samp.GetActorHandleByPlayerID(29@)
if 056D:   actor 27@ defined
then 31@ = 1
message "[acheats.ru] {279B61}[TarBull] {BBBBBB}Send bullets to player: {077777}%d" 0xEAEAEA 29@ 
else message "[acheats.ru] {BBBBBB}Player with id {077777}%d {BBBBBB} is not connected." 0xEAEAEA 29@ 
end
end
end
Samp.CmdRet()


:bulldata
 27@ = Samp.GetActorHandleByPlayerID(1@)
Actor.StorePos(27@, 10@ 11@ 12@) // Находим наши координаты
0AC8: 5@ = allocate_memory_size 39 // Выделяем память для bitstream
0C0D: struct 5@ offset 0 size 1 = 0@ //type - тип пули. 0 - попадает в воздух. 1 - в игрока. 2 - в машину. 3 - в объект.
0C0D: struct 5@ offset 1 size 2 = 1@ //id - id  того, в зависимости, что вы написали выше (игрока, машины, объекта). Если type = 0, то id = 0.

//Позиции XYZ, откуда мы стреляем.
0C0D: struct 5@ offset 3 size 4 = 10@ 
0C0D: struct 5@ offset 7 size 4 = 11@ 
0C0D: struct 5@ offset 11 size 4 = 12@ 

//Позиции XYZ, куда попадает пуля. Если вы стреляете в объект, игрока или машину, то независимо, от того, 
//что вы здесь написали, пуля попадет в тело, с смещением от центра тела, которое будет указано ниже.
0C0D: struct 5@ offset 15 size 4 = 10@
0C0D: struct 5@ offset 19 size 4 = 12@ 
0C0D: struct 5@ offset 23 size 4 = 11@ 

//Если вы стреляете в игрока, объект или машину, то это смещение от центра тела.
//То есть, координаты 0 0 0 это середина тела, а координаты 0.0 0.0 0.5, координаты головы игрока, и тд.
//Если стреляете в воздух, то ставьте их всегда 0 0 0.
0C0D: struct 5@ offset 27 size 4 = 0.0 
0C0D: struct 5@ offset 31 size 4 = 0.0
0C0D: struct 5@ offset 35 size 4 = 0.0 

0B3D: raknet 6@ = new_bit_stream
0B40: raknet bit_stream 6@ write 224 type BS_TYPE_BYTE size 1
0B40: raknet bit_stream 6@ write 5@ type BS_TYPE_ARRAY size 39
0B8B: raknet send bit_stream 6@
0B3E: raknet delete_bit_stream 6@
0AC9: free_allocated_memory 5@
0AB2: ret 0


// struct stAimData ( size = 31 )
//BYTE byteCamMode; +0
//float vecAimf1[3]; +1
//float vecAimPos[3]; +13
//float fAimZ; +25
//BYTE byteCamExtZoom : 6; +29
//BYTE bUnk; +30

:aim
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = SAMP.GetPlayerStruct(3@)
3@ += 24
0AC8: 4@ = allocate_memory_size 31
0C10: memcpy destination 4@ source 3@ size 31
0C0D: struct 4@ offset 13 size 4 = 0@
0C0D: struct 4@ offset 17 size 4 = 1@
0C0D: struct 4@ offset 21 size 4 = 2@
0B3D: raknet 5@ = new_bit_stream
0B40: raknet bit_stream 5@ write PACKET_AIM_SYNC type BS_TYPE_BYTE size 1
0B40: raknet bit_stream 5@ write 4@ type BS_TYPE_ARRAY size 31
0B8B: raknet send bit_stream 5@ 
0B3E: raknet delete_bit_stream 5@
0AC9: free_allocated_memory 4@
0AB2: ret 0
      
                       
 

mgmoldova

Active member
Joined
Mar 20, 2013
Messages
37
Reaction score
0
Re: Bullet PRO

Grandpa Ze link said:
Now, an option shoot-through-wall would be nice.
I updated it. To shoot shoot-through-wall you need ak47 or m4 or other weapon.
Press aim and shoot key.
 

defrinex

New member
Joined
Mar 14, 2014
Messages
2
Reaction score
0
Re: Bullet PRO

mgmoldova link said:
[quote author=Grandpa Ze link=topic=5846.msg33938#msg33938 date=1394651618]
Now, an option shoot-through-wall would be nice.
I updated it. To shoot shoot-through-wall you need ak47 or m4 or other weapon.
Press aim and shoot key.
[/quote]
is tarbull working this version?
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: Bullet PRO

mgmoldova link said:
[quote author=Grandpa Ze link=topic=5846.msg33938#msg33938 date=1394651618]
Now, an option shoot-through-wall would be nice.
I updated it. To shoot shoot-through-wall you need ak47 or m4 or other weapon.
Press aim and shoot key.
[/quote]

Nice!

Hmm could you make it just like regular /tarbull and /mgbull with AIM_KEY only but add a command /wh to enable shoot-through-wall, so who doesn't want to shoot through wall doesn't have to? Basically /wh to toggle shoot-through-walls.

Configurable .ini with player exceptions would be great! So we basically add names of people who we don't want to be shot at with Bullet PRO. :)

Love this mod.
 

mgmoldova

Active member
Joined
Mar 20, 2013
Messages
37
Reaction score
0
Re: Bullet PRO

defrinex link said:
[quote author=mgmoldova link=topic=5846.msg35328#msg35328 date=1395492175]
[quote author=Grandpa Ze link=topic=5846.msg33938#msg33938 date=1394651618]
Now, an option shoot-through-wall would be nice.
I updated it. To shoot shoot-through-wall you need ak47 or m4 or other weapon.
Press aim and shoot key.
[/quote]
is tarbull working this version?
[/quote]
yes
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: [/mgbull] Bullet PRO (shoot-through-wall)

So .ini or .txt where we can add people which /mgbull will ignore so our friends don't get shot? And could you make shoot-through-walls on /wh, so when you type /wh you toggle the shoot-through-walls then /mgbull, /tarbull will shoot through walls, and when you type /wh again it will be disabled? Baically /wh toggles shoot-through-walls function ON and OFF? That would really be awesome!
 

KingOfZion

Well-known member
Joined
Feb 20, 2013
Messages
208
Reaction score
4
Re: [/mgbull] Bullet PRO (shoot-through-wall)

/tarbull doesn't work for me.  :bawww: Still for all players  :urtheman:
 

riotmofo

Member
Joined
Feb 6, 2014
Messages
15
Reaction score
0
Re: [/mgbull] Bullet PRO (shoot-through-wall)

fu** why all mods require this sampFunc 3.0 it just wont work for me... stupid sampfuncs , hate it ;D
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
Re: [/mgbull] Bullet PRO (shoot-through-wall)

Why are you against samp functions  ? Just download two files and put them inside your GTA San Andreas folder. And that will make you able to use more than 10 mods.
 

Translate

Active member
Joined
Mar 17, 2014
Messages
34
Reaction score
0
Re: [/mgbull] Bullet PRO (shoot-through-wall)

Please make this so where I can UnTarget people. I hate when I'm shooting at an enemy and it ends up shooting everyone around me.
P.S Great Job on this mod so far.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Re: [/mgbull] Bullet PRO (shoot-through-wall)

Moldova, shoot-through-wall doesn't work with /mgbull nor /tarbull. You should make it togglable on the command /wh.
 
Status
Not open for further replies.
Top