SA-MP Forums

Go Back   SA-MP Forums > oMa37

Conversation Between oMa37 and AbyssMorgan
Showing Visitor Messages 1 to 10 of 11
  1. oMa37
    19/09/2017 05:29 PM
    Thanks man, that actually worked flawless!
    Much appreciated.
  2. AbyssMorgan
    19/09/2017 04:12 PM
  3. oMa37
    19/09/2017 03:55 PM
    I have added a check if player state is not wasted in your include in function CreateDynamicExplosionDMG but it doesn't seem to work also, so yeah would be appreciated if you could inform me when the new version is out.

    Thanks a lot!
  4. AbyssMorgan
    19/09/2017 03:52 PM
    Maybe to much explosion in the same time i need improve this function for check player state.
  5. oMa37
    19/09/2017 03:41 PM
    Yeah, increasing explosion radius got it working. But, there is one more issue which is when the player get killed with airstrike it calls OnPlayerDeath for 2-4 times, do you have any idea why? I'm testing everything in blank script so I don't think it's an issue from my script.
    I think it's because i'm making multiple explosions at once?
  6. AbyssMorgan
    19/09/2017 01:36 PM
    Maybe explosion radius is to small, explosion radius in this function is damage radius if explosion splash is more than explosion radius function not using custom damage but oryginal explosion damage. This function is already tested and work fine.
  7. oMa37
    19/09/2017 01:32 PM
    That's what I'm doing as you can see from my code or am I wrong?
    -1 (playerid parameter) means for all players according to your code.
  8. AbyssMorgan
    19/09/2017 01:28 PM
    playerid - streamed playerid (the same as streamer)
    byplayerid - killerid
  9. oMa37
    19/09/2017 01:22 PM
    Hey mate, CreateDynamicExplosionDMG doesn't seem to work fine. I'm trying to make an airstrike system and I made the function like this:

    CreateDynamicExplosionDMG(x, y, z, EXPLOSION_TYPE, EXPLOSION_RADIUS, 0, 0, -1, 200.0, 82.5, 82.5, playerid);

    So the 'playerid' parameter should be the player who launched that airstrike, but OnPlayerDeath returns 65535 for killerid (INVALID_PLAYER_ID).
  10. AbyssMorgan

All times are GMT. The time now is 09:08 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.