21.03.2011, 06:29
i need help ^^
how to make vehicle plate save??
EX: i type /vehplate then input a text AB 2377 VA (my plate number) then, when the server restart and car plate is still AB 2377 VA ??
anyway,
enum info:
i'll try to make an dini file like this :
then create this:
and cmd the /vehplate , i've done with that, and that work.. but not save the plate number ![Smiley](images/smilies/smile.png)
pls help me!![Cheesy](images/smilies/biggrin.png)
*sorry my english is very bad T.T
how to make vehicle plate save??
EX: i type /vehplate then input a text AB 2377 VA (my plate number) then, when the server restart and car plate is still AB 2377 VA ??
anyway,
enum info:
pawn Код:
enum cInfo
{
cModel,
Float:cLocationx,
Float:cLocationy,
Float:cLocationz,
Float:cAngle,
cColorOne,
cColorTwo,
cOwner[MAX_PLAYER_NAME],
cOwned,
cLock,
cPaintjob,
cVirWorld,
cComponent0,
cComponent1,
cComponent2,
cComponent3,
cComponent4,
cComponent5,
cComponent6,
cComponent7,
cComponent8,
cComponent9,
cComponent10,
cComponent11,
cComponent12,
cComponent13,
cCode,
cPlate
};
pawn Код:
CarInfo[idx][cPlate] = dini_Int(file,"Plate");
pawn Код:
dini_IntSet(file,"Plate",CarInfo[idx][cPlate])
![Smiley](images/smilies/smile.png)
pls help me!
![Cheesy](images/smilies/biggrin.png)
*sorry my english is very bad T.T