i guess i solved regarding the camera viewing.
can anyone help me for this code?
void total(){
while(str_cmp){
if(str_cmp(coffee,"coffee_table.mdl") == 1){
var_total += 280;
}
if(str_cmp(chair,"chair.mdl") == 1){
var_total += 130;
}
wait(1);
}
}
it couldnt recognize the entity and when i click chair for example, the total wouldnt came out 130, but 280. same as if i click coffee_table, it would came about the same; 280. and if i click again for the same entity it would add up 280 and make it 560 even i click for chair(that is only 130).
can anyone help me pelis?