Anyone delete this thread already fixed
Helpp
|
You might want to tell people what your problem is.
edit: SetDvar("scr_dm_score_kill", " + NewXPValue"); should be SetDvar("scr_dm_score_kill", NewXPValue);
Didnt see the post ^^^ fail was going to say whats wrong with it?
(01-20-2012, 16:48)Pozzuh Wrote: You might want to tell people what your problem is. it gives me 2 errors, im in visual c# 2010 EDIT: The best overloaded method match for 'Addon.CPlugin.SetDvar(string, string)' has some invalid arguments AND Argument 2: cannot convert from 'int' to 'string'
Try this
Code: using Addon; (01-20-2012, 16:48)Pozzuh Wrote: SetDvar("scr_dm_score_kill", " + NewXPValue");Used that in the code above ^^^^
try
Code: SetDvar("scr_dm_score_kill", NewXPValue.ToString()); or just don't convert it to an integer... because the SetDvar function requires 2 strings . (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu |
Users browsing this thread: |
1 Guest(s) |