Get cash after killing someone
#1

Does anyone know such a filterscript or can make one? I realy need it because i have basically DM server and there is weapon shop filterscript wich uses money so i need to earn money with killing. Can anyone help me with it?
Reply
#2

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID) GivePlayerMoney(killerid, 1000);
    return 1;
}
https://sampwiki.blast.hk/wiki/OnPlayerDeath
Reply
#3

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID) GivePlayerMoney(killerid, 1000);
    return 1;
}
https://sampwiki.blast.hk/wiki/OnPlayerDeath
right now i dont have anyone to test it with me but as soon i get someone to test it with me and see if it works you get Rep+
Reply
#4

Quote:
Originally Posted by Subwoofer
Посмотреть сообщение
right now i dont have anyone to test it with me but as soon i get someone to test it with me and see if it works you get Rep+
You can use NPC's.... (BOTS)
Reply
#5

Quote:
Originally Posted by Sandiel
Посмотреть сообщение
You can use NPC's.... (BOTS)
Too complicated for such a simple function,
Reply
#6

Quote:
Originally Posted by Sandiel
Посмотреть сообщение
You can use NPC's.... (BOTS)
How to add them?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)