Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock CreateCircleWithModelObject(objectid, Float:posx, Float:posy, Float:posz, Float:radius)
- {
- new
- Float:_add[3]
- ;
- for(new i = 0; i != 360 || _add[2] <= 360; i ++)
- {
- _add[0] = posx+radius*floatcos(_add[2],degrees);
- _add[1] = posy+radius*floatsin(_add[2],degrees);
- _add[2] = _add[2]+2;
- CreateObject(objectid, _add[0], _add[1], posz, 0.0, 0.0, 0.0);
- printf("%d. %.4f - %.4f - %.4f", i, _add[0], _add[1], _add[2]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement