Help With Dini I think - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help With Dini I think (
/showthread.php?tid=104750)
Help With Dini I think -
BP13 - 26.10.2009
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
Re: Help With Dini I think -
_Vortex - 26.10.2009
That's dubd. Also, what line is 6538?
Re: Help With Dini I think -
BP13 - 26.10.2009
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"))
Re: Help With Dini I think -
Correlli - 26.10.2009
You're using
= in a if-statement, use
== which is correct.
Re: Help With Dini I think -
BP13 - 26.10.2009
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.