I Need Help. Death Match Related.
#1

Alright, i'v starting writting my own gamemodes and not editing.
And i'v moved on from Roleplay and started DM,
So i need some help with basic Death match things,

First of all, you all see the kill count on the right hand side
It shows who killed who ? how do i add that.

Also, when i use a command it removed 5000$ from my player
But my cash goes to minus cash, how to limit it so it dont go to
minus ?

Thanks in advance
Reply
#2

pawn Код:
SendDeathMessage(killerid,playerid,reason); //under onplayerdeath //will do the death msgs

and
if(GetPlayerMoney(playerid) < 5000) { //dead persons money
  ResetPlayerMoney(playerid); // set to 0
}
else GivePlayerMoney(playerid,-5000); //else take 5k
Reply
#3

Thanks for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)