ULX

Author Topic: [Request]Pointshop - Kill reward plugin.  (Read 3543 times)

0 Members and 1 Guest are viewing this topic.

Offline Deathtitan77

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 6
[Request]Pointshop - Kill reward plugin.
« on: April 12, 2013, 10:26:39 AM »
I saw a plugin on some servers where if you kill a traitor, you get points. But if you RDM, you loose points.

So, I was wondering if anyone here can share with me this plugin?

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: [Request]Pointshop - Kill reward plugin.
« Reply #1 on: April 12, 2013, 10:32:39 AM »
do you know codeing if so i can help you out with the hooks you would need to do something like this i rather show you not tell you because learning is inportant :D
Code: [Select]
function playerDies( victim, weapon, killer )
 
Msg( "Player " .. victim:GetName() .. " has died.\n" )
end
 
hook.Add( "PlayerDeath", "playerDeathTest", playerDies )
pulled from
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexbdc5.html 
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."