30.03.2017, 12:47
I whant to make a script that : the player if (inputtext == MyVehicle[giveplayerid][MyVehPressurePlate]) and i whant to connect the MyVehicle[giveplayerid][MyVehPressurePlate] to get MyVehicle[giveplayerid][MyVehID]
Any help connecting the 2 values witch both are on one enum einfo.
MyVehicle[giveplayerid][MyVehPressurePlate] doesnt have the same value as MyVehicle[giveplayerid][MyVehID]
If there isnt a way to connect the values, give me other ways to get to MyVehicle[giveplayerid][MyVehID]
I have been so much hours on the laptopp to make this but i cant find the way. Please help, i will give +rep
So much thanks if you helped me!
Code for enum einfo
Any help connecting the 2 values witch both are on one enum einfo.
MyVehicle[giveplayerid][MyVehPressurePlate] doesnt have the same value as MyVehicle[giveplayerid][MyVehID]
If there isnt a way to connect the values, give me other ways to get to MyVehicle[giveplayerid][MyVehID]
I have been so much hours on the laptopp to make this but i cant find the way. Please help, i will give +rep
So much thanks if you helped me!
Code for enum einfo
PHP код:
enum einfo
{
MyVehSlot,
MyVehModel,
Float:MyVehPos[4],
MyVehCol[2],
MyVehLock,
MyVehOwner[MAX_PLAYER_NAME],
MyVehAlarm,
MyVehCena,
MyVehID,
MyVehCar,
MyVehBike,
MyVehBoat,
MyVehPlane,
MyVehFsale,
MyVehRegistracija,
MyVehRegistrirano,
MyVehKM,
MyVehTablicki[8],
MyVehPaintjob,
MyVehPaintjob1,
MyVehSpoiler,
MyVehHood,
MyVehRoof,
MyVehSideSkirt,
MyVehWheels,
MyVehFrontBumper,
MyVehRearBumper,
MyVehNitro,
MyVehExhaust,
MyVehHidraulika,
MyVehRightVent,
MyVehLeftVent,
};
new MyVehicle[MAX_MYVEHS][einfo];