Liberty Unleashed
Scripting => Script Help => Topic started by: mimomohamed on October 06, 2012, 03:44:57 pm
-
I can't use
if ( GetPlayers > 0 );
When I use it if 5 or 6 or 7 or 10 or any number of players in the server it works i mean the lines after it happens
i mean if i made it
if ( GetPlayers > 5 );
or
if ( GetPlayers > 999999 );
no deference happen ! :o
-
:o xD worked :Dthis is the fix ;D
local players = GetPlayers();
if ( players != 0 )
{
-
How can you fail so hard to put ';' at the end of a ')' during an if ?
Also you call a function in a if comparation, it should not be GetPlayers but GetPlayers().
Useless new arrays are useless. So no point in having local players
if( GetPlayers() > 5 )
{
-
How can you fail so hard to put ';' at the end of a ')' during an if ?
Also you call a function in a if comparation, it should not be GetPlayers but GetPlayers().
Useless new arrays are useless. So no point in having local players
if( GetPlayers() > 5 )
{
Do u know that i didn't see that i forgot to put the ()
OMG xD but thanks for ur reply ;D