Hi i have a problem with making sprites the right size could somone make me a code for this sprite
This is what i need help with to only show 1 big sprite instead of many small ones
PHP Code:
new Float:origin1[3];
new Float:origin2[3];
entity_get_vector(ent, EV_VEC_origin, origin1);
entity_get_vector(ent, EV_VEC_origin, origin2);
origin1[0] -= 32.0;
origin1[1] -= 32.0;
origin1[2] += 10.0;
origin2[0] += 32.0;
origin2[1] += 32.0;
origin2[2] += 10.0;
//get a random height for the flame
//new randHeight = random_num(0, 32) + 16;
//show some effects
message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
write_byte(TE_BUBBLES);
write_coord(floatround(origin1[0], floatround_floor)); //min start position
write_coord(floatround(origin1[1], floatround_floor));
write_coord(floatround(origin1[2], floatround_floor));
write_coord(floatround(origin2[0], floatround_floor)); //max start position
write_coord(floatround(origin2[1], floatround_floor));
write_coord(floatround(origin2[2], floatround_floor));
write_coord(48); //float height
write_short(gSpriteIdHeal); //model index
write_byte(1); //count
write_coord(1); //speed
message_end();