ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 02 Sep 2013 02:51 PM |
It says player is a nil value asap I call _G.award()
_G.award = function(player, wins, kills, points) player.leaderstats.Wins.Value = player.leaderstats.Wins.Value+wins player.leaderstats.Kills.Value = player.leaderstats.Kills.Value+kills player.leaderstats.Points.Value = player.leaderstats.Points.Value+points end
print(player2.Name) _G.award(player2, 0, 1, 5)
It prints Player2 then says player is nil when _G.award begins
player2 is a player |
|
|
| Report Abuse |
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 02 Sep 2013 02:53 PM |
| Show us the definition of player2. |
|
|
| Report Abuse |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 02 Sep 2013 02:53 PM |
| It's not that, I made sure of it. |
|
|
| Report Abuse |
|