20.04.2014, 22:05
Dessa forma todos os veнculos com ID 581 terгo sobre si a msg.
OnGameModeInit
PHP код:
forward Vei();
public Vei() {
for(new i=0; i<MAX_VEHICLES; i++) {
if(GetVehicleModel(i) == 581) {
Texto3DVeiculo[i] = Create3DTextLabel("{4682B4}Esse й um veiculo com id 581:P",0xFF0000AA,0.0,0.0,0.0,50.0,0,0);
Attach3DTextLabelToVehicle(Texto3DVeiculo[i],i,0.0,0.0,1.0);
}
}
return 1;
}
PHP код:
Vei();
Obs: Chame a callback apуs os veнculos serem criados.