02.08.2009, 14:08
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.
- 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.
- VehiclePosX, it will only return the x pos of the vehicle.
- [color=green] objectPos, it's the same as GetObjectPos, but the code is more simple.
- vehiclePosX, it will only return the x pos of the vehicle.
- [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.
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);
pawn Code:new str[256];
format(str,sizeof(str),"%s(%d)",PlayerIp(playerid),playerid);
For the more functions, you can check the inc.
Yes,it's so easy to use it!
►Script Download- ecode.inc | Solidfiles | 0.11 -> Download!
- ecode.inc | Solidfiles | 0.1 -> Download!
»Download and extract ecode.inc to '/pawno/include'
»Open your gamemode--the one you want the include installed in
»Addpawn Code:#include <ecode>
»Addpawn Code:ecode_Init();
»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