Skip to content

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaolinka committed Feb 22, 2021
0 parents commit 823e287
Show file tree
Hide file tree
Showing 114 changed files with 16,261 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.encoding": "windows1251"
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/pawno_zeex/pawncc.exe",
"args": ["${file}", "-Dgamemodes", "'-;+'", "'-(+'", "'-d3'"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
Binary file added gamemodes/main.amx
Binary file not shown.
166 changes: 166 additions & 0 deletions gamemodes/main.pwn
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
#include <..\src\lib\a_samp>
#include <..\src\lib\a_http>
#include <..\src\lib\a_mysql>
#include <..\src\lib\foreach>
#include <..\src\lib\Pawn.CMD>
#include <..\src\lib\Pawn.Regex>
#include <..\src\lib\Pawn.RakNet>
#include <..\src\lib\sscanf2>
#include <..\src\lib\crashdetect>
#include <..\src\lib\streamer>
#include <..\src\lib\mxdate>
#include "..\src\lib\a_mail_sender"
#include "..\src\lib\a_vvar"

/* Utilites */
#include "..\src\utilites\structure.pwn"
#include "..\src\utilites\core.pwn"

/* Dialog */
#include "..\src\dialog\structures.pwn"

/* Mysql */
#include "..\src\mysql\core.pwn"

/* Ownable Car */
#include "..\src\ownable_car\structure.pwn"
#include "..\src\ownable_car\array.pwn"
#include "..\src\ownable_car\directives.pwn"
#include "..\src\ownable_car\iterator.pwn"
#include "..\src\ownable_car\functions.pwn"
#include "..\src\ownable_car\core.pwn"

/* Trailer */
#include "..\src\trailer\structure.pwn"
#include "..\src\trailer\directives.pwn"
#include "..\src\trailer\array.pwn"
#include "..\src\trailer\iterator.pwn"
#include "..\src\trailer\functions.pwn"
#include "..\src\trailer\core.pwn"

/* Hook */
#include "..\src\hook\functions.pwn"

/* Player, íî ìîäóëü îòíîñèòñÿ ê ïàïêå «diary», áûëî ïðèíÿòî ðåøåíèå äîáàâèòü åãî â áëîê êîäà,
îòíîñÿùèéñÿ ê ìîäóëÿì ïàïêè «player», âî èçáåæàíèè îøèáêè 017(íåèçâåñòíûé ñèìâîë: MAX_RECORDS_ON_PAGE)
Âàðèàíò ôèêñà, åñëè Âû ëþáèòåëü ïîðÿäêà:
Ïðîâåðèòü íàëè÷èå äèðåêòèâû «MAX_RECORDS_ON_PAGE»
*/
#include "..\src\diary\directives.pwn"
/* Player, íî ìîäóëü îòíîñèòñÿ ê ïàïêå «admin», áûëî ïðèíÿòî ðåøåíèå äîáàâèòü åãî â áëîê êîäà,
îòíîñÿùèéñÿ ê ìîäóëÿì ïàïêè «player», âî èçáåæàíèè îøèáêè 017(íåèçâåñòíûé ñèìâîë: MAX_ADMIN_LVL)
Âàðèàíò ôèêñà, åñëè Âû ëþáèòåëü ïîðÿäêà:
Ïðîâåðèòü íàëè÷èå äèðåêòèâû «MAX_ADMIN_LVL»
*/
#include "..\src\admin\directives.pwn"
/* Player, íî ìîäóëü îòíîñèòñÿ ê ïàïêå timer, áûëî ïðèíÿòî ðåøåíèå äîáàâèòü åãî â áëîê êîäà,
îòíîñÿùèéñÿ ê ìîäóëÿì ïàïêè «timer», âî èçáåæàíèè îøèáêè 017(íåèçâåñòíûé ñèìâîë: MAX_TIMERS)
Âàðèàíò ôèêñà, åñëè Âû ëþáèòåëü ïîðÿäêà:
Ïðîâåðèòü íàëè÷èå äèðåêòèâû «MAX_TIMERS»
*/
#include "..\src\timer\directives.pwn"
#include "..\src\player\other.pwn"
#include "..\src\player\functions.pwn"
#include "..\src\player\core.pwn"
#include "..\src\player\commands.pwn"

/* Graffiti */
#include "..\src\graffiti\other.pwn"
#include "..\src\graffiti\functions.pwn"
#include "..\src\graffiti\core.pwn"

/* Timer */
#include "..\src\timer\structure.pwn"
#include "..\src\timer\functions.pwn"
#include "..\src\timer\core.pwn"

/* Diary */
#include "..\src\diary\structure.pwn"
#include "..\src\diary\functions.pwn"
#include "..\src\diary\commands.pwn"
#include "..\src\diary\core.pwn"

/* Counter */
#include "..\src\counter\directives.pwn"
#include "..\src\counter\structure.pwn"
#include "..\src\counter\core.pwn"
#include "..\src\counter\commands.pwn"
#include "..\src\counter\functions.pwn"

/* Admin */
#include "..\src\admin\structures.pwn"
#include "..\src\admin\functions.pwn"

/* Donate */
#include "..\src\donate\structures.pwn"
#include "..\src\donate\directives.pwn"
#include "..\src\donate\functions.pwn"
#include "..\src\donate\core.pwn"
#include "..\src\donate\commands.pwn"

/* Black Market */
#include "..\src\black_market\array.pwn"
#include "..\src\black_market\directive.pwn"
#include "..\src\black_market\functions.pwn"

/* Object */
#include "..\src\object\functions.pwn"
#include "..\src\object\core.pwn"

/* 3D text */
#include "..\src\3D text\functions.pwn"
#include "..\src\3D text\core.pwn"
main(){}

public OnGameModeInit()
{
MysqlOnGameModeInit();
CounterOnGameModeInit();
OwnableCarOnGameModeInit();
TrailerOnGameModeInit();
GraffitiOnGameModeInit();
ObjectOnGameModeInit();
_3DTextOnGameModeInit();

return 1;
}

public OnGameModeExit()
{
MysqlOnGameModeExit();

return 1;
}

public OnPlayerConnect(playerid)
{
PlayerOnPlayerConnect(playerid);
DiaryOnPlayerConnect(playerid);
TimerOnPlayerConnect(playerid);

return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
DiaryOnDialogResponse(playerid, dialogid, response, listitem, inputtext);
DonateOnDialogResponse(playerid, dialogid, response, listitem, inputtext);

return 1;
}

cmd:karplox(playerid) return ShowPlayerBuyBlackMarketProduct(playerid, 1);

cmd:sppos(playerid) return SetPlayerPos(playerid, -2170.26514, -281.43811, 39.00430 + 10.0);

cmd:gv(playerid) return GivePlayerWeapon(playerid, WEAPON_SPRAYCAN, 500);

cmd:spteam(playerid) return SetPlayerTeamEx(playerid, 1);

cmd:spteam1(playerid) return SetPlayerTeamEx(playerid, 0);

cmd:sgcd(playerid) return SetGraffitiCooldown(0, 0);

cmd:blyatporn(playerid) return SetVVarFloat(GetPlayerVehicleID(playerid), "veh_health", 1000.00);

cmd:blyatporn1(playerid) return printf("%f", GetVVarFloat(GetPlayerVehicleID(playerid), "veh_health"));
8 changes: 8 additions & 0 deletions gamemodes/rus.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
russian_road.pwn(5) : фатальная ошибка 100: невозможно прочесть файл: "..\include\Pawn.RakNet"

Компиляция остановлена.

Pawn compiler 3.2.3664 Copyright (c) 1997-2016, ITB CompuPhase


Ошибок:1.
Binary file added libmysql.dll
Binary file not shown.
Loading

0 comments on commit 823e287

Please sign in to comment.