06.10.2015, 03:17
Bueno les cuento lo que hice, defini el include #include <a_actor>
Luego defini los actores
Luego, en OnGameModeInit los cree
Y me tira los siguientes warnings:
ACLARO: los new estan definidos debajo de los include.
Gracias.
Luego defini los actores
PHP код:
new ActorUnity;
new Actor24;
new ActorTienda;
new ActorBanco;
new ActorBanco2;
PHP код:
ActorUnity = CreateActor(211, -22.3194,-140.3120,1003.5469,0.0);
Actor24 = CreateActor(211, -23.7952,-57.3041,1003.5469,0.0);
ActorTienda = CreateActor(211, 1005.4451,54.8812,55.3221,0.0);
ActorBanco = CreateActor(150, 1431.0862,-1000.1790,1639.7856,0.0);
ActorBanco2 = CreateActor(150, 1437.5789,-1000.1795,1639.7925,0.0);
PHP код:
warning 204: symbol is assigned a value that is never used: "Actor24"
warning 204: symbol is assigned a value that is never used: "ActorBanco"
warning 204: symbol is assigned a value that is never used: "ActorBanco2"
warning 204: symbol is assigned a value that is never used: "ActorTienda"
warning 204: symbol is assigned a value that is never used: "ActorUnity"
Gracias.