enum help
#2

Yes, it's wrong.
Do you want to set a vehicle's owner by his "playerid" ?

Код:
enum CarInfos
{
        CarID,
        CarOwner,
	CarModel,
	CarE,
	CarEx,
	Text3D:CarOwner3DText
}

new vInfo[MAX_VEH][CarInfos] = 
{
	{0,-1,522,3,7,Text3D:INVALID_3DTEXT_ID},
	{1,-1,411,3,8,Text3D:INVALID_3DTEXT_ID}
};
Then, you can set a CarOwner for every cars (vehicleid) :
vInfo[vehicleid][CarOwner] = playerid; // It should be a unique indentifier instead of playerid.

And the 3D Text Label :
vInfo[vehicleid][CarOwner3DText] = Create3DTextLabel(...);
Reply


Messages In This Thread
enum help - by MRM - 27.03.2016, 13:00
Re: enum help - by Raphinity - 27.03.2016, 16:48
Re: enum help - by MRM - 27.03.2016, 21:01
Re: enum help - by czerwony03 - 27.03.2016, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)