Stupid question lol, regarding numbers - 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: Stupid question lol, regarding numbers (
/showthread.php?tid=210376)
Stupid question lol, regarding numbers -
Outcast - 12.01.2011
I can't find out how to make an if command where it says if something is not equeal idk 0.
Ex:
if(PlayerInfo[playerid][pLevel] not equal 0)
What's the sign for "not equal" for numbers? I tried adding "!" infront of PlayerInfo but I get warnings.
Thanks
Re: Stupid question lol, regarding numbers -
Babul - 12.01.2011
Код:
if(PlayerInfo[playerid][pLevel] != 0)
{
//your codes
}
Re: Stupid question lol, regarding numbers -
iggy1 - 13.01.2011
!= Not equal.
>= More than or equal to.
<= Less than or equal to.
< Less than.
> More than.
== Equal to.
Just incase you needed more