Quote:
Originally Posted by bruxo00
Tenho numa enum:
PHP код:
Float:BuyPackagesX,
Float:BuyPackagesY,
Float:BuyPackagesZ,
Float:DeliverX,
Float:DeliverY,
Float:DeliverZ,
PHP код:
new GunJob[DrugJobInfo];
E quando tento fazer isto:
PHP код:
GunJob[BuyPackagesX] = -740.9171;
GunJob[BuyPackagesY] = 1138.2870;
GunJob[BuyPackagesZ] = 32.4604;
Dб o warning: (na primeira linha)
PHP код:
warning 213: tag mismatch
O que se passa?
|
Quote:
Originally Posted by bruxo00
Nгo. Vou postar o enum completo:
PHP код:
enum DrugJobInfo
{
Float:TakeJobX,
Float:TakeJobY,
Float:TakeJobZ,
TakeJobWorld,
TakeJobInterior,
Float:TakeJobAngle,
TakeJobPickupID,
Float:BuyDrugsX,
Float:BuyDrugsY,
Float:BuyDrugsZ,
BuyDrugsWorld,
BuyDrugsInterior,
Float:BuyDrugsAngle,
BuyDrugsPickupID,
Float:DeliverX,
Float:DeliverY,
Float:DeliverZ,
DeliverWorld,
DeliverInterior,
Float:DeliverAngle,
DeliverPickupID,
};
new DrugJob[DrugJobInfo];
|
DrugJob ou GunJob?
PHP код:
DrugJob[BuyPackagesX] = -740.9171;
DrugJob[BuyPackagesY] = 1138.2870;
DrugJob[BuyPackagesZ] = 32.4604;