If statement error!
#7

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
Thanks, i'm such a idiot!
No problem, sometimes I do that problem too.
It's I'm* btw .

EDIT:
Quote:
Originally Posted by funky1234
Посмотреть сообщение
You have an extra bracket in your if statement.

Код:
if(event(playerid)) == 1)
//Remove the second bracket after 'playerid'.
if(event(playerid) == 1)
You should also change all "playerid" names to "i"!
You are wrong, It's
if(event(playerid))
The "i" is correct, told him already.
Reply


Messages In This Thread
If statement error! - by linuxthefish - 11.04.2012, 23:57
Re: If statement error! - by The__ - 12.04.2012, 00:00
Re: If statement error! - by linuxthefish - 12.04.2012, 00:03
Re: If statement error! - by MP2 - 12.04.2012, 00:04
Re: If statement error! - by Marco_Valentine - 12.04.2012, 00:04
Re: If statement error! - by Ash. - 12.04.2012, 00:08
Re: If statement error! - by The__ - 12.04.2012, 00:09
Re: If statement error! - by The__ - 12.04.2012, 00:11
Re: If statement error! - by linuxthefish - 12.04.2012, 00:17
Re: If statement error! - by Marco_Valentine - 12.04.2012, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)