[HELP] Go jail if kill in safe zone
#3

Hii ...
you could use the
Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
  return 1;
}
function to check if the Interior, when the player killed another player, is one of the interior id's of
a bank.
Look here -> https://sampwiki.blast.hk/wiki/InteriorIDs

.. and then check on:
Код:
OnPlayerDeath
if the interior of the killer is ( for example ) 5.
and if that's true ->
Код:
SetPlayerPos(killerid,xCoordinate,yCoordinate,zCoordinate);
Hope it helped you

LG Bearfist
Reply


Messages In This Thread
[HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 19:44
Re: [HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 20:10
Re: [HELP] Go jail if kill in safe zone - by Bearfist - 28.12.2009, 20:17
Re: [HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 20:21
Re: [HELP] Go jail if kill in safe zone - by Bearfist - 28.12.2009, 20:33
Re: [HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 20:34
Re: [HELP] Go jail if kill in safe zone - by Bearfist - 28.12.2009, 20:37
Re: [HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 20:46
Re: [HELP] Go jail if kill in safe zone - by Bearfist - 28.12.2009, 20:53
Re: [HELP] Go jail if kill in safe zone - by vludraiz - 28.12.2009, 20:58

Forum Jump:


Users browsing this thread: 2 Guest(s)