How do I reset an enum at best?
#1

Hello,
i have a question about reseting an enum with the best an shortest method.

At the moment I reset my enum so:
pawn Код:
PlayerInfo[playerid][pDatabaseID] = 0;
PlayerInfo[playerid][pName] = "\0";
PlayerInfo[playerid][pPosX] = 0.0;
PlayerInfo[playerid][pPosX] = 0.0;
etc...

But this is a waste of code, so is there any better way to do this?


greets Zunno


(Sorry for my bad english :/)
Reply


Messages In This Thread
How do I reset an enum at best? - by Zunno - 23.07.2013, 04:38
Re: How do I reset an enum at best? - by Scenario - 23.07.2013, 04:51
AW: How do I reset an enum at best? - by Zunno - 23.07.2013, 05:06
Re: How do I reset an enum at best? - by Pottus - 23.07.2013, 05:12
AW: How do I reset an enum at best? - by Zunno - 23.07.2013, 05:15

Forum Jump:


Users browsing this thread: 1 Guest(s)