Help With Dini I think
#1

I forget if this is dini or dubd. Whats wrong with this?

Код:
C:\DOCUME~1\User\Desktop\MYNEWE~1\FILTER~1\LADMIN~1.PWN(6538) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
pawn Код:
SavePlayer(playerid)
{
  if(PlayerInfo[playerid][hours] = dUserINT(PlayerName2(playerid)).("50,51,52,53,54,55,56,57"))
  {
    dUserSetINT(PlayerName2(playerid)).("VIP",1);
  }
}
Thanks
Reply
#2

That's dubd. Also, what line is 6538?
Reply
#3

Quote:
Originally Posted by [B
Vortex ]
That's dubd. Also, what line is 6538?
if(PlayerInfo[playerid][hours] = dUserINT(PlayerName2(playerid)).("50,51,52,53,54,5 5,56,57"))
Reply
#4

You're using = in a if-statement, use == which is correct.
Reply
#5

Quote:
Originally Posted by Don Correlli
You're using = in a if-statement, use == which is correct.
Thanks Don Correlli. You make my scripting possible.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)