gTeam[playerid] or PVarInt("Team")??
#10

If a variable is not declared and you try to get its value it will return 0.

Instead of setting a PVar Integer to zero you can just delete it, as you said. It's perfectly fine and also frees the dynamically allocated memory.
Reply


Messages In This Thread
gTeam[playerid] or PVarInt("Team")?? - by cAMo - 15.05.2010, 14:39
Re: gTeam[playerid] or PVarInt("Team")?? - by juice.j - 15.05.2010, 14:41
Re: gTeam[playerid] or PVarInt("Team")?? - by cAMo - 15.05.2010, 14:51
Re: gTeam[playerid] or PVarInt("Team")?? - by juice.j - 15.05.2010, 14:53
Re: gTeam[playerid] or PVarInt("Team")?? - by Kyosaur - 15.05.2010, 15:06
Re: gTeam[playerid] or PVarInt("Team")?? - by juice.j - 15.05.2010, 15:17
Re: gTeam[playerid] or PVarInt("Team")?? - by Kyosaur - 15.05.2010, 15:25
Re: gTeam[playerid] or PVarInt("Team")?? - by juice.j - 15.05.2010, 15:35
Re: gTeam[playerid] or PVarInt("Team")?? - by cAMo - 15.05.2010, 16:08
Re: gTeam[playerid] or PVarInt("Team")?? - by juice.j - 15.05.2010, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)