18.12.2016, 14:32
All, I put this code and below it does not get anything else.
PHP код:
#define SCRIPT_CARS 3001
enum cInfo
{
cModel,
Float:cX,
Float:cY,
Float:cZ,
Float:cAngle,
cColorOne,
cColorTwo,
cOwner[128],
cOwned,
cValue,
cLock,
cFuel,
cDonate,
cMod[10],
cImpound,
cImpoundPrice,
cTWeapon[5],
cTAmmo[5],
cTCounter,
Float:cTArmour,
Float:cHealth,
cTOpen,
cPlate[128],
cPlateV,
cGPS,
cTime,
cGasCan,
cBomb,
cDelay,
cIns,
cMarijuana,
cCrack,
cCocaine,
cHaloperidol,
cDemerol,
cHeroin,
cLSD,
cSteroid,
cEcstasy,
cMeth,
cPCP,
cAspirin,
cMorphine
}
new CarInfo[SCRIPT_CARS][cInfo];
if(GetPVarInt(playerid, "CarKey1") == 1001) SetPVarInt(playerid, "CarKey1", SCRIPT_CARS);
if(GetPVarInt(playerid, "CarKey2") == 1001) SetPVarInt(playerid, "CarKey2", SCRIPT_CARS);
if(GetPVarInt(playerid, "CarKey3") == 1001) SetPVarInt(playerid, "CarKey3", SCRIPT_CARS);
if(GetPVarInt(playerid, "CarKey1") == 2001) SetPVarInt(playerid, "CarKey1", SCRIPT_CARS);
if(GetPVarInt(playerid, "CarKey2") == 2001) SetPVarInt(playerid, "CarKey2", SCRIPT_CARS);
if(GetPVarInt(playerid, "CarKey3") == 2001) SetPVarInt(playerid, "CarKey3", SCRIPT_CARS);