[Include] [INC] ecode - Easy Code System v0.11 (UPDATED)
#1

Shindo(ssh) - Easy Code
I'm sorry for my poor English.
This is the first inc of mine.


►Script Type
  • Include

►Script Features
  • Easy Code
  • -It has the easier and more simple code to save your time.
  • -There are three code ways to help you, so you can find out the best one that suits you.
  • Easy configuration inside the script and gamemode.
►Script Changelog
  • 2009/08/04(v0.11):Optimize the native code.
  • 2009/08/02(v0.1):First version

►Script Functions
There are three ways to help you code.

eg. CODE_MODE_1:
  • [color=green] ObjectPos, it's the same as GetObjectPos, but the code is more simple.
And there are more easy way to use some code:
  • VehiclePosX, it will only return the x pos of the vehicle.
eg. CODE_MODE_2:
  • [color=green] objectPos, it's the same as GetObjectPos, but the code is more simple.
And there are more easy way to use some code:
  • vehiclePosX, it will only return the x pos of the vehicle.
eg. CODE_MODE_3:
  • [color=green] oPos, it's the same as GetObjectPos, but the code is more simple.
  • And there are more easy way to use some code:
    • vPosX, it will only return the x pos of the vehicle.
    And you can use this inc to easy code:
    eg.if you don't use this inc,you will write:
    pawn Code:
    new pIp[256], str[256];
    GetPlayerIp(playerid,pIp,sizeof(pIp));
    format(str,sizeof(str),"%s(%d)",pIp,playerid);
    if you use this inc(for CODE_MODE_1):
    pawn Code:
    new str[256];
    format(str,sizeof(str),"%s(%d)",PlayerIp(playerid),playerid);
    It can save the most time.

    For the more functions, you can check the inc.
    Yes,it's so easy to use it!

    ►Script Download ►Script Installation
    »Download and extract ecode.inc to '/pawno/include'
    »Open your gamemode--the one you want the include installed in
    »Add
    pawn Code:
    #include <ecode>
    under '#include <a_samp>'
    »Add
    pawn Code:
    ecode_Init();
    under public OnFilterScriptInit(); or public OnGameModeInit();
    »Write some code and compile your game mode!

    ►Other
    • "Was it tested?" Yes, I tested them and they worked fine
    • I will be re-working on some code that I think it's a pity.
    • Please report any bugs here
Reply
#2

not bad
Reply
#3

Quote:
Originally Posted by ► James_Alex
not bad
thank you very much.
Reply
#4

Nice for a first Include
Reply
#5

Does it support
Code:
printf("pip:%s(%d)",pIp(playerid),playerid);
?

Nice include.
Reply
#6

Great work
Reply
#7

Quote:
Originally Posted by yezizhu
Does it support
Code:
printf("pip:%s(%d)",pIp(playerid),playerid);
?

Nice include.
yes,it supports.
Reply
#8

Quote:
Originally Posted by AlexSAMP
Nice for a first Include
Thank you very much too.
Reply
#9

Quote:
Originally Posted by Shindo(ssh)
Quote:
Originally Posted by yezizhu
Does it support
Code:
printf("pip:%s(%d)",pIp(playerid),playerid);
?

Nice include.
yes,it supports.
I'd like to use CODE_MODE_3 : )
Reply
#10

great work it is
Reply
#11

Quote:
Originally Posted by yezizhu
Quote:
Originally Posted by Shindo(ssh)
Quote:
Originally Posted by yezizhu
Does it support
Код:
printf("pip:%s(%d)",pIp(playerid),playerid);
?

Nice include.
yes,it supports.
I'd like to use CODE_MODE_3 : )
Thank for using my inc.
Reply
#12

awesome!
Reply
#13

Quote:
Originally Posted by Sailer
awesome!
eeeeee....thx....
Reply
#14

updated.
Reply
#15

Dunno if is an issue.
Код:
vAngle(vehicle);
It original func name is GetVehicleZAngle
So does it should be
Код:
vZAngle(vehicleid);
?
Reply
#16

Not very difficult, but useful!
Reply
#17

Quote:
Originally Posted by yezizhu
Dunno if is an issue.
Код:
vAngle(vehicle);
It original func name is GetVehicleZAngle
So does it should be
Код:
vZAngle(vehicleid);
?
I will change it but i think if use vZAngle is more simple than using vZAngle.
Reply
#18

Quote:
Originally Posted by Marciii
Not very difficult, but useful!
thank you very much.
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)