TogglePlayerControllable
#7

Quote:
Originally Posted by MugiwaraNoLuffy
Посмотреть сообщение
TogglePlayerControllable doesn't garantize you that the player can be killed or not. If you want the player to be invulnerable you should use OnPlayerWeaponShot returning 0 and GiveDamage/TakeDamage for punches, explosions, etc. This doesn't require a fix, because it's possible by scripting, as I always say, programming is much harder than scripting.
What? That's the point, I don't want player to be invincible, I want him to be killable. As I said, and it should actually work, I have a custom damages in my gamemode, where player is receiving damage from other player ONLY if the issuerid is using fists, no guns. There's no need to check it for OnPlayerWeaponShot, because why would I have to do the same thing twice? huh.. and stop saying "programming is much harder than scripting", because you're just wrong. If you know what you're doing, nothing is hard. Sit down and do it.

Quote:
Originally Posted by gtaplayer1
Посмотреть сообщение
[...]For the sa-mp developers, I don't think the issue is in the difficulty of programming it, but in finding the time and/or motivation to do it.
Well.. one day, there'll be more developer(s) than one. We just have to wait, because I don't believe that Kye will be doing SA-MP until he dies. He might not have time, because we're all people, and he is a "One many army". Should appreciate any fixes and addons we receive from him. We should be happy that we can play here all together and also be happy that we can choose between few multiplayers.
Reply


Messages In This Thread
TogglePlayerControllable - by Riddick94 - 06.02.2014, 08:23
Re: TogglePlayerControllable - by Reboma - 06.02.2014, 08:36
Re: TogglePlayerControllable - by Hoborific - 06.02.2014, 09:44
Re: TogglePlayerControllable - by Lordzy - 06.02.2014, 09:52
Respuesta: TogglePlayerControllable - by MugiwaraNoLuffy - 06.02.2014, 21:52
Re: Respuesta: TogglePlayerControllable - by gtaplayer1 - 11.02.2014, 19:56
Re: Respuesta: TogglePlayerControllable - by Riddick94 - 11.02.2014, 20:15
Respuesta: Re: Respuesta: TogglePlayerControllable - by MugiwaraNoLuffy - 11.02.2014, 22:58
Re: Respuesta: TogglePlayerControllable - by gtaplayer1 - 11.02.2014, 23:15
Re: Respuesta: TogglePlayerControllable - by Riddick94 - 11.02.2014, 23:16

Forum Jump:


Users browsing this thread: 3 Guest(s)