Advertisement
Omatter

GIETNGCOTHUONG

Jul 20th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. CTRL + F tim public OnPlayerDeath(playerid, killerid, reason)
  2. new log[128];
  3. new sotien = 1;
  4. new vatlieu = 1;
  5. new credit = 1;
  6. new exp = 1;
  7. PlayerInfo[killerid][pCash] += sotien; // giet nguoi cong 1 $
  8. PlayerInfo[killerid][pMats] += vatlieu; //giet nguoi cong 1 vat lieu
  9. PlayerInfo[killerid][pCredits] += credit; //giet nguoi cong 1 credit
  10. PlayerInfo[playerid][pXP] += exp; //giet nguoi cong 1 EXP
  11. format(log,128,"[Kill] ban nhan duoc %d$ - %d vat lieu - %d Credit - %d EXP",sotien,vatlieu,credit,exp);
  12. SendClientMessageEx(killerid, -1, log);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement