[Tutorial] Anti Drive-By
#10

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
Um...why?
Player A which is in a vehicle parks his car on player B. While player B's health is draining, player A leaves the vehicle. I don't know if OnPlayerDeath's second parameter is the actual killer or INVALID_PLAYER_ID, but either way it fails because IsPlayerInAnyVehicle(killerid) returns `false`. You might want to use reason 49 (https://sampwiki.blast.hk/wiki/Weapons).

---

Anyway, good tutorial. Very "noob-friendly".
Reply


Messages In This Thread
Anti Drive-By - by DiGiTaL_AnGeL - 05.03.2013, 13:03
Re: Anti Drive-By - by bensmart469 - 05.03.2013, 13:05
Re: Anti Drive-By - by DiGiTaL_AnGeL - 05.03.2013, 13:13
Re: Anti Drive-By - by burnfire - 05.03.2013, 13:22
Re: Anti Drive-By - by Johndaonee - 05.03.2013, 18:58
Re: Anti Drive-By - by DiGiTaL_AnGeL - 05.03.2013, 19:07
Re: Anti Drive-By - by SuperViper - 06.03.2013, 14:18
Re: Anti Drive-By - by RajatPawar - 06.03.2013, 14:22
Re: Anti Drive-By - by DiGiTaL_AnGeL - 06.03.2013, 15:49
Re: Anti Drive-By - by Dan.. - 17.03.2013, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)