help me!
#5

Quote:
Originally Posted by saffierr
Посмотреть сообщение
ahameed, use GivePlayerWeapon();
And why are you using sscanf twice?
I don't know if that's incorrect or smth, but I've never seen it before.
PHP код:
if(sscanf(params,"udd",TargetID,Weapon,Ammo)); 
That is where the issue is... That, is an empty statement, as it doesn't have the { }, or anything done in it after the if.

Quote:
Originally Posted by Andre02
Посмотреть сообщение
if/else if/else statements do not have semicolons ';' at the end!
That is incorrect.

You can make them on one line, and they can have semicolons at the end of them, meaning it's the end of the if portion.
Reply


Messages In This Thread
help me! - by ahameed4755 - 18.09.2015, 21:14
Re: help me! - by Aliassassin123456 - 18.09.2015, 21:22
Re: help me! - by Andre02 - 18.09.2015, 21:25
Re: help me! - by saffierr - 18.09.2015, 22:32
Re: help me! - by Sew_Sumi - 19.09.2015, 00:35
Re: help me! - by saffierr - 19.09.2015, 01:10
Re: help me! - by ahameed4755 - 19.09.2015, 10:59
Re: help me! - by Andre02 - 19.09.2015, 11:16
Re: help me! - by jlalt - 19.09.2015, 11:29
Re: help me! - by Sew_Sumi - 19.09.2015, 21:27

Forum Jump:


Users browsing this thread: 4 Guest(s)