[Include] [INC] ecode - Easy Code System v0.11 (UPDATED) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] ecode - Easy Code System v0.11 (UPDATED) (
/showthread.php?tid=89507)
[INC] ecode - Easy Code System v0.11 (UPDATED) -
shindo - 02.08.2009
Shindo(ssh) - Easy Code
I'm sorry for my poor English.
This is the first inc of mine.
►Script Type
►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 under '#include <a_samp>'
»Add 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
Re: [INC] ecode - Easy Code System -
James_Alex - 02.08.2009
not bad
Re: [INC] ecode - Easy Code System -
shindo - 02.08.2009
Quote:
Originally Posted by ► James_Alex
not bad
|
thank you very much.
Re: [INC] ecode - Easy Code System -
AlexSAMP - 02.08.2009
Nice for a first Include
Re: [INC] ecode - Easy Code System -
yezizhu - 02.08.2009
Does it support
Code:
printf("pip:%s(%d)",pIp(playerid),playerid);
?
Nice include.
Re: [INC] ecode - Easy Code System -
aspire5630 - 02.08.2009
Great work
Re: [INC] ecode - Easy Code System -
shindo - 03.08.2009
Quote:
Originally Posted by yezizhu
Does it support
Code:
printf("pip:%s(%d)",pIp(playerid),playerid);
?
Nice include.
|
yes,it supports.
Re: [INC] ecode - Easy Code System -
shindo - 03.08.2009
Quote:
Originally Posted by AlexSAMP
Nice for a first Include
|
Thank you very much too.
Re: [INC] ecode - Easy Code System -
yezizhu - 03.08.2009
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 : )
Re: [INC] ecode - Easy Code System -
call me jesus - 03.08.2009
great work it is
Re: [INC] ecode - Easy Code System -
shindo - 03.08.2009
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.
Re: [INC] ecode - Easy Code System -
DarkClone - 03.08.2009
awesome!
Re: [INC] ecode - Easy Code System -
shindo - 03.08.2009
Quote:
Originally Posted by Sailer
awesome!
|
eeeeee....thx....
Re: [INC] ecode - Easy Code System (UPDATED) -
shindo - 04.08.2009
updated.
Re: [INC] ecode - Easy Code System v0.11 (UPDATED) -
yezizhu - 04.08.2009
Dunno if is an issue.
It original func name is GetVehicleZAngle
So does it should be
?
Re: [INC] ecode - Easy Code System v0.11 (UPDATED) -
Marciii - 04.08.2009
Not very difficult, but useful!
Re: [INC] ecode - Easy Code System v0.11 (UPDATED) -
shindo - 05.08.2009
Quote:
Originally Posted by yezizhu
Dunno if is an issue.
It original func name is GetVehicleZAngle
So does it should be
?
|
I will change it but i think if use vZAngle is more simple than using vZAngle.
Re: [INC] ecode - Easy Code System v0.11 (UPDATED) -
shindo - 05.08.2009
Quote:
Originally Posted by Marciii
Not very difficult, but useful!
|
thank you very much.