What's wrong with my code?
#6
(04-29-2013, 04:20 AM)STR_Warrior Wrote: then you should propably just OtherPlayer:TakeDamage(OtherPlayer) or something.
Dont work

I also tried with cPawn_DoTakeDamage(100, OtherPlayer)
And gives me this error:
LUA: Plugins/MoreCommands/main.lua:16: attempt to call method 'cPawn__DoTakeDamage' (a nil value)
Reply
Thanks given by:


Messages In This Thread
What's wrong with my code? - by tonibm19 - 04-28-2013, 09:04 PM
RE: What's wrong with my code? - by NiLSPACE - 04-28-2013, 09:46 PM
RE: What's wrong with my code? - by xoft - 04-28-2013, 11:40 PM
RE: What's wrong with my code? - by tonibm19 - 04-29-2013, 04:14 AM
RE: What's wrong with my code? - by NiLSPACE - 04-29-2013, 04:20 AM
RE: What's wrong with my code? - by tonibm19 - 04-29-2013, 04:24 AM
RE: What's wrong with my code? - by xoft - 04-29-2013, 04:38 AM
RE: What's wrong with my code? - by tonibm19 - 04-29-2013, 04:41 AM



Users browsing this thread: 4 Guest(s)