Sourcemod Aero Controler for Jailmod Sourcepawn script for controlling jailgameplay.
julienkluge / smaerocontroler Goto Github PK
View Code? Open in Web Editor NEWSourcemod Aero Controler for Jailmod
Sourcemod Aero Controler for Jailmod
Change the Old style of using stocks and natives for working with datapackets, to the new with using methodmaps.
methodmap DataPack < Handle
{
public DataPack() = CreateDataPack;
public WriteCell() = WritePackCell;
public WriteFloat() = WritePackFloat;
public WriteString() = WritePackString;
public WriteFunction() = WritePackFunction;
public ReadCell() = ReadPackCell;
public ReadFloat() = ReadPackFloat;
public ReadString() = ReadPackString;
public ReadFunction() = ReadPackFunction;
public Reset() = ResetPack;
public IsReadable() = IsPackReadable;
property int Position {
public get() = GetPackPosition;
public set() = SetPackPosition;
}
};
change all function definitions from old syntax with functag and funcenum to the new transitional syntax with typedef and typeset
Change the return type to the new declaration void if there is no type to return at all.
Necessary?
Update all Sendmessages to support Protobuff and with that csgo.
Keep attention to perhaps improve the Sendmessage call with new MessageId rather than using the id string.
replace the old functag and funcenum of the includes to the new declaration style
with typedef.
functag public Action:SrvCmd(args);
becomes to
typedef SrvCmd = function Action (int args);
Take an eye of the funcenum. Is there an direct "typedefenum" or something? Look into standart includes.
Replace old dbi fetch calls with the new methodmap syntax.
Rewrite the base to use plain obb style?
Low Priority issue.
Adding a routine to detect which gamemod is running to change behaviour with sendmessages and somemore else.
Update AC_PrintToChat(All) to support Protobuff and with that, compatibility with cs:go.
Change old variable declaration like:
new Float:x = 5.0;
new y = 7;
to
float x = 5.0;
int y = 7;
It goes:
Float = float
bool - No Change
_ = no tag = int
String = char
Change every Tagging cast like:
float x = Float:array.Get(i);
to:
float y = view_as(array.Get(i));
the code for dicing invisibility is not working in cs:go so write a replacement or at least a workaround like
if (csgo) { return false; }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.