PVarInts
#4

Quote:
Originally Posted by Snowman12
Посмотреть сообщение
Very confusing.. How would I take away a int. Like this?

pawn Код:
SetPVarInt(playerid, "IncorrectLogin", GetPVarInt(playerid, "IncorrectLogin")-iValue);
Or is that completely wrong?

Thanks in advance,

-Snowman.
It's correct.
You can also use it like this:
pawn Код:
SetPVarInt(playerid, "IncorrectLogin", --GetPVarInt(playerid, "IncorrectLogin")); // IncorrectLogin = IncorrectLogin-1
and so on.
Reply


Messages In This Thread
PVarInts - by Snowman12 - 10.01.2012, 21:21
Re: PVarInts - by Scenario - 10.01.2012, 21:45
Re: PVarInts - by Snowman12 - 10.01.2012, 22:02
Re: PVarInts - by Norck - 10.01.2012, 22:07
Re: PVarInts - by Snowman12 - 10.01.2012, 22:11
Re: PVarInts - by Snowman12 - 11.01.2012, 00:05
Re: PVarInts - by Scenario - 11.01.2012, 01:15
Re: PVarInts - by Snowman12 - 11.01.2012, 01:16
Re: PVarInts - by Scenario - 11.01.2012, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)