[Include] Reflectors By OTACON
#1

[] Reflectors By OTACON


[] Information:
N/A

[] Video:
[ame]www.youtube.com/watch?v=kRhmiwGdiTA[/ame]

[] function:
pawn Код:
native CreateReflectors_OTACON(slot, Float:x, Float:y, Float:z, Float:a, opcion_OTACON=REFLECTOR_WHITE, height=REFLECTOR_LOW);
native DestroyReflectors_OTACON(slot);
[] Example Usage:
pawn Код:
#include <a_samp>
#include <Reflectors_OTACON>

public OnFilterScriptInit() {
    print("\n===================================");
    print("   ..:::: CREATED BY OTACON ::::..   ");
    print("        - [INC] Reflectors -   ");
    print("       - Version: 0.1 - 2013 -       ");
    print("===================================\n");

    CreateReflectors_OTACON(0, -1308.8099,-365.0616,14.1484,313.1782, REFLECTOR_RED, REFLECTOR_HIGH);
    CreateReflectors_OTACON(1, -1305.8524,-367.9347,14.1484,316.9382, REFLECTOR_WHITE, REFLECTOR_LOW);
    CreateReflectors_OTACON(2, -1303.1444,-371.0578,14.1440,313.9093, REFLECTOR_GREEN, REFLECTOR_MEDIUM);
    return true;
}
public OnFilterScriptExit() {
    print("\n===================================");
    print("   ..:::: CREATED BY OTACON ::::..   ");
    print("        - [INC] Reflectors -   ");
    print("       - Version: 0.1 - 2013 -       ");
    print("===================================\n");
   
    DestroyReflectors_OTACON(0);
    DestroyReflectors_OTACON(1);
    DestroyReflectors_OTACON(2);
    return true;
}
[] Downloads:
http://www.solidfiles.com/d/c9402f9ab5/

[] Password:
Otacon

[] Credits:
OTACON
Reply
#2

Is it possible to decrease the reflector's size?
Reply
#3

Quote:
Originally Posted by TheSka
Посмотреть сообщение
Is it possible to decrease the reflector's size?
height or light?

height yes, mira el include.
light but you must also change the order by a smaller one. (not included in the include)
Reply
#4

The light one, plus what's mira el include..
Reply
#5

Does not look that bad. Keep working and learning. Good work. Rep+4
Reply
#6

Not bad.. Good work friend =D
Reply
#7

Too much about yourself in the code.
CreateReflectors_OTACON, really?

One of the points of a good code is how short it is to make it easier for scripters to type it.
CreateReflector or DeleteReflector was more than enough.
Reply
#8

Quote:
Originally Posted by Rockk
Посмотреть сообщение
Too much about yourself in the code.
CreateReflectors_OTACON, really?

One of the points of a good code is how short it is to make it easier for scripters to type it.
CreateReflector or DeleteReflector was more than enough.
He is right too much of your name.... maybe remove that it would be nice
Reply
#9

Quote:
Originally Posted by Rockk
Посмотреть сообщение
Too much about yourself in the code.
CreateReflectors_OTACON, really?

One of the points of a good code is how short it is to make it easier for scripters to type it.
CreateReflector or DeleteReflector was more than enough.
Why? you can remove it yourself if you have any problem with that.
None of you give credits to the real creators of scripters using in your servers then why he can't type his names in his release?
Reply
#10

Quote:
Originally Posted by TheSka
Посмотреть сообщение
The light one, plus what's mira el include..
mira el include = look the include
Reply
#11

Quote:
Originally Posted by gDarius
Посмотреть сообщение
Why? you can remove it yourself if you have any problem with that.
None of you give credits to the real creators of scripters using in your servers then why he can't type his names in his release?
Well there is lots of ways to show credits...... check Y_ini and other ****** projects you don't see his name like *****INI_ParseFilehe uses /* */ for credits
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)