28.12.2009, 20:17
Hii ...
you could use the
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![Wink](images/smilies/wink.png)
.. and then check on:
if the interior of the killer is ( for example ) 5.
and if that's true ->
Hope it helped you ![Wink](images/smilies/wink.png)
LG Bearfist
you could use the
Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid) { return 1; }
a bank.
Look here -> https://sampwiki.blast.hk/wiki/InteriorIDs
![Wink](images/smilies/wink.png)
.. and then check on:
Код:
OnPlayerDeath
and if that's true ->
Код:
SetPlayerPos(killerid,xCoordinate,yCoordinate,zCoordinate);
![Wink](images/smilies/wink.png)
LG Bearfist