rror 035: argument type mismatch (argument 3)
#3

The 3rd argument of the function GivePlayerWeapon is ammo and it's integer. inputtext is string; hence you get the warning. If inputtext holds the ammo, then use strval function to convert a string to an integer.
Reply


Messages In This Thread
rror 035: argument type mismatch (argument 3) - by IGeorge - 05.05.2014, 18:36
Re: rror 035: argument type mismatch (argument 3) - by KillerStrike23 - 05.05.2014, 18:46
Re: rror 035: argument type mismatch (argument 3) - by Konstantinos - 05.05.2014, 18:50
Re: rror 035: argument type mismatch (argument 3) - by IGeorge - 05.05.2014, 19:00
Re: rror 035: argument type mismatch (argument 3) - by Konstantinos - 05.05.2014, 19:01
Re: rror 035: argument type mismatch (argument 3) - by IGeorge - 05.05.2014, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)