Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
7年前
差异永不过期
清除
导出
分享
解释
88 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
217 行
全部复制
25 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
155 行
全部复制
复制
已复制
复制
已复制
#if defined
(c)Copyright_2012
#if defined
EzgisssSistemler
________________________________________________________________________________
********************************************************************************
********************************************************************************
复制
已复制
复制
已复制
================================================================================
复制
已复制
复制
已复制
aFly (source code)
EzgisssSistemler
----------------------
----------------------
复制
已复制
复制
已复制
- by Vishnu
eFly l eSistemler
________________________________________________________________________________
********************************************************************************
================================================================================
CONTACT INFO
------------
email <::> vishnu4307@gmail.com
facebook <::> facebook.com/vishnu4307
website <::> www.vggaming.tk
复制
已复制
复制
已复制
If anyone have any doubts or complaints or suggestion about this gamemode please
feel free to inform me.
I am looking for co developers. If you are willing to help please contact me.
________________________________________________________________________________
********************************************************************************
********************************************************************************
复制
已复制
复制
已复制
================================================================================
INFO
----
* ZCMD include from Zeex needed to compile the script.
* Use /fly to switch to aFly mode and /fly again toe deactivate aFly.
***Say good bye to the bugged s0biet and other hacks!***
复制
已复制
复制
已复制
________________________________________________________________________________
Kural 1 -
********************************************************************************
================================================================================
/*
/\
//\\
// \\
// \\
// \\
// RULES \\
// \\
-------------
*/
RULE 1 -
--------
--------
复制
已复制
复制
已复制
"
You may not sell this script under any circumstances
.
"
"
Zcmd yüklü olması lazım
.
"
复制
已复制
复制
已复制
RULE
2 -
Kural
2 -
--------
--------
复制
已复制
复制
已复制
" You may edit this script. But don't claim it as yours. "
" Arkadaşlar umarım sistemi beğenirsiniz. Emeğe saygı eFly. "
________________________________________________________________________________
________________________________________________________________________________
********************************************************************************
********************************************************************************
================================================================================
================================================================================
#endif
#endif
复制
已复制
复制
已复制
//==============================================================================
//İncludeler
//-------------------------------------------------
// Includes
//-------------------------------------------------
//==============================================================================
#include <a_samp>
#include <a_samp>
#include <zcmd>
#include <zcmd>
复制
已复制
复制
已复制
//==============================================================================
//-------------------------------------------------
// Variables
//-------------------------------------------------
//==============================================================================
new bool:flying[MAX_PLAYERS];
new bool:flying[MAX_PLAYERS];
复制
已复制
复制
已复制
//==============================================================================
//-------------------------------------------------
// Forwards
//-------------------------------------------------
//==============================================================================
forward AdminFly(playerid);
forward AdminFly(playerid);
forward Float:SetPlayerToFacePos(playerid, Float:X, Float:Y);
forward Float:SetPlayerToFacePos(playerid, Float:X, Float:Y);
复制
已复制
复制
已复制
//==============================================================================
//-------------------------------------------------
// Primary callbacks
//-------------------------------------------------
//==============================================================================
public OnFilterScriptInit()
public OnFilterScriptInit()
{
{
new year,month,day;
new year,month,day;
getdate(year, month, day);
getdate(year, month, day);
new hour,minute,second;
new hour,minute,second;
gettime(hour,minute,second);
gettime(hour,minute,second);
printf("\n------------------------------------------------");
printf("\n------------------------------------------------");
复制
已复制
复制
已复制
printf("
a
Fly
by Vishnu - Replace s0biet, Replace hacks
");
printf("
e
Fly
l EzgisssSistemler
");
printf("------------------------------------------------\n");
printf("------------------------------------------------\n");
复制
已复制
复制
已复制
printf("|
LOADED
|
Date
: %d/%d/%d |
Time
: %d:%d:%d |",day,month,year,hour, minute, second);
printf("|
Yükleniyor
|
Tarih
: %d/%d/%d |
Zaman
: %d:%d:%d |",day,month,year,hour, minute, second);
return 1;
return 1;
}
}
public OnFilterScriptExit()
public OnFilterScriptExit()
{
{
new year,month,day;
new year,month,day;
getdate(year, month, day);
getdate(year, month, day);
new hour,minute,second;
new hour,minute,second;
gettime(hour,minute,second);
gettime(hour,minute,second);
printf("\n------------------------------------------------");
printf("\n------------------------------------------------");
复制
已复制
复制
已复制
printf("
a
Fly
by Vishnu - Replace s0biet, Replace hacks
");
printf("
e
Fly
Sistemi Kapatıldı. l EzgisssSistemler
");
printf("------------------------------------------------\n");
printf("------------------------------------------------\n");
复制
已复制
复制
已复制
printf("|
UNLOADED
|
Date
: %d/%d/%d |
Time
: %d:%d:%d |",day,month,year,hour, minute, second);
printf("|
KAPATILIYOR
|
Tarih
: %d/%d/%d |
Zaman
: %d:%d:%d |",day,month,year,hour, minute, second);
return 1;
return 1;
}
}
复制
已复制
复制
已复制
//==============================================================================
//-------------------------------------------------
// Secondary callbacks
//-------------------------------------------------
//==============================================================================
public AdminFly(playerid)
public AdminFly(playerid)
{
{
if(!IsPlayerConnected(playerid))
if(!IsPlayerConnected(playerid))
return flying[playerid] = false;
return flying[playerid] = false;
if(flying[playerid])
if(flying[playerid])
{
{
if(!IsPlayerInAnyVehicle(playerid))
if(!IsPlayerInAnyVehicle(playerid))
{
{
new
new
keys,
keys,
ud,
ud,
lr,
lr,
Float:x[2],
Float:x[2],
Float:y[2],
Float:y[2],
Float:z;
Float:z;
GetPlayerKeys(playerid, keys, ud, lr);
GetPlayerKeys(playerid, keys, ud, lr);
GetPlayerVelocity(playerid, x[0], y[0], z);
GetPlayerVelocity(playerid, x[0], y[0], z);
if(ud == KEY_UP)
if(ud == KEY_UP)
{
{
GetPlayerCameraPos(playerid, x[0], y[0], z);
GetPlayerCameraPos(playerid, x[0], y[0], z);
GetPlayerCameraFrontVector(playerid, x[1], y[1], z);
GetPlayerCameraFrontVector(playerid, x[1], y[1], z);
ApplyAnimation(playerid, "SWIM", "SWIM_crawl", 4.1, 0, 1, 1, 0, 0);
ApplyAnimation(playerid, "SWIM", "SWIM_crawl", 4.1, 0, 1, 1, 0, 0);
SetPlayerToFacePos(playerid, x[0] + x[1], y[0] + y[1]);
SetPlayerToFacePos(playerid, x[0] + x[1], y[0] + y[1]);
SetPlayerVelocity(playerid, x[1], y[1], z);
SetPlayerVelocity(playerid, x[1], y[1], z);
}
}
else
else
SetPlayerVelocity(playerid, 0.0, 0.0, 0.01);
SetPlayerVelocity(playerid, 0.0, 0.0, 0.01);
}
}
SetTimerEx("AdminFly", 100, 0, "d", playerid);
SetTimerEx("AdminFly", 100, 0, "d", playerid);
}
}
return 0;
return 0;
}
}
public Float:SetPlayerToFacePos(playerid, Float:X, Float:Y)
public Float:SetPlayerToFacePos(playerid, Float:X, Float:Y)
{
{
new
new
Float:pX1,
Float:pX1,
Float:pY1,
Float:pY1,
Float:pZ1,
Float:pZ1,
Float:ang;
Float:ang;
if(!IsPlayerConnected(playerid)) return 0.0;
if(!IsPlayerConnected(playerid)) return 0.0;
GetPlayerPos(playerid, pX1, pY1, pZ1);
GetPlayerPos(playerid, pX1, pY1, pZ1);
if( Y > pY1 ) ang = (-acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0);
if( Y > pY1 ) ang = (-acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0);
else if( Y < pY1 && X < pX1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 450.0);
else if( Y < pY1 && X < pX1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 450.0);
else if( Y < pY1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0);
else if( Y < pY1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0);
if(X > pX1) ang = (floatabs(floatabs(ang) + 180.0));
if(X > pX1) ang = (floatabs(floatabs(ang) + 180.0));
else ang = (floatabs(ang) - 180.0);
else ang = (floatabs(ang) - 180.0);
ang += 180.0;
ang += 180.0;
SetPlayerFacingAngle(playerid, ang);
SetPlayerFacingAngle(playerid, ang);
return ang;
return ang;
}
}
复制
已复制
复制
已复制
//==============================================================================
//ZCMD Komut
//-------------------------------------------------
// ZCMD commands
//-------------------------------------------------
//==============================================================================
CMD:fly(playerid, params[])
CMD:fly(playerid, params[])
{
{
if(IsPlayerAdmin(playerid))
if(IsPlayerAdmin(playerid))
{
{
new Float:x, Float:y, Float:z;
new Float:x, Float:y, Float:z;
if((flying[playerid] = !flying[playerid]))
if((flying[playerid] = !flying[playerid]))
{
{
GetPlayerPos(playerid, x, y, z);
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+5);
SetPlayerPos(playerid, x, y, z+5);
SetPlayerArmour(playerid, 1000000000.0);
SetPlayerArmour(playerid, 1000000000.0);
SetPlayerHealth(playerid, 1000000000.0);
SetPlayerHealth(playerid, 1000000000.0);
SetTimerEx("AdminFly", 100, 0, "d", playerid);
SetTimerEx("AdminFly", 100, 0, "d", playerid);
}
}
else
else
{
{
GetPlayerPos(playerid, x, y, z);
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+0.5);
SetPlayerPos(playerid, x, y, z+0.5);
ClearAnimations(playerid);
ClearAnimations(playerid);
SetPlayerArmour(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
return 1;
return 1;
}
}
}
}
else
else
{
{
复制
已复制
复制
已复制
SendClientMessage(playerid, 0xB4B5B7FF, "
You are not authorized to use that command
.");
SendClientMessage(playerid, 0xB4B5B7FF, "
Bu komutu kullanmak için yetkiniz yok
.");
}
}
return 1;
return 1;
}
}
复制
已复制
复制
已复制
//
© VGGaming 2012 - All rights Reserved
//
EzgisssSistemler
已保存差异
原始文本
打开文件
#if defined (c)Copyright_2012 ________________________________________________________________________________ ******************************************************************************** ================================================================================ aFly (source code) ---------------------- - by Vishnu ________________________________________________________________________________ ******************************************************************************** ================================================================================ CONTACT INFO ------------ email <::> vishnu4307@gmail.com facebook <::> facebook.com/vishnu4307 website <::> www.vggaming.tk If anyone have any doubts or complaints or suggestion about this gamemode please feel free to inform me. I am looking for co developers. If you are willing to help please contact me. ________________________________________________________________________________ ******************************************************************************** ================================================================================ INFO ---- * ZCMD include from Zeex needed to compile the script. * Use /fly to switch to aFly mode and /fly again toe deactivate aFly. ***Say good bye to the bugged s0biet and other hacks!*** ________________________________________________________________________________ ******************************************************************************** ================================================================================ /* /\ //\\ // \\ // \\ // \\ // RULES \\ // \\ ------------- */ RULE 1 - -------- " You may not sell this script under any circumstances. " RULE 2 - -------- " You may edit this script. But don't claim it as yours. " ________________________________________________________________________________ ******************************************************************************** ================================================================================ #endif //============================================================================== //------------------------------------------------- // Includes //------------------------------------------------- //============================================================================== #include <a_samp> #include <zcmd> //============================================================================== //------------------------------------------------- // Variables //------------------------------------------------- //============================================================================== new bool:flying[MAX_PLAYERS]; //============================================================================== //------------------------------------------------- // Forwards //------------------------------------------------- //============================================================================== forward AdminFly(playerid); forward Float:SetPlayerToFacePos(playerid, Float:X, Float:Y); //============================================================================== //------------------------------------------------- // Primary callbacks //------------------------------------------------- //============================================================================== public OnFilterScriptInit() { new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second); printf("\n------------------------------------------------"); printf(" aFly by Vishnu - Replace s0biet, Replace hacks"); printf("------------------------------------------------\n"); printf("| LOADED | Date: %d/%d/%d | Time: %d:%d:%d |",day,month,year,hour, minute, second); return 1; } public OnFilterScriptExit() { new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second); printf("\n------------------------------------------------"); printf(" aFly by Vishnu - Replace s0biet, Replace hacks"); printf("------------------------------------------------\n"); printf("| UNLOADED | Date: %d/%d/%d | Time: %d:%d:%d |",day,month,year,hour, minute, second); return 1; } //============================================================================== //------------------------------------------------- // Secondary callbacks //------------------------------------------------- //============================================================================== public AdminFly(playerid) { if(!IsPlayerConnected(playerid)) return flying[playerid] = false; if(flying[playerid]) { if(!IsPlayerInAnyVehicle(playerid)) { new keys, ud, lr, Float:x[2], Float:y[2], Float:z; GetPlayerKeys(playerid, keys, ud, lr); GetPlayerVelocity(playerid, x[0], y[0], z); if(ud == KEY_UP) { GetPlayerCameraPos(playerid, x[0], y[0], z); GetPlayerCameraFrontVector(playerid, x[1], y[1], z); ApplyAnimation(playerid, "SWIM", "SWIM_crawl", 4.1, 0, 1, 1, 0, 0); SetPlayerToFacePos(playerid, x[0] + x[1], y[0] + y[1]); SetPlayerVelocity(playerid, x[1], y[1], z); } else SetPlayerVelocity(playerid, 0.0, 0.0, 0.01); } SetTimerEx("AdminFly", 100, 0, "d", playerid); } return 0; } public Float:SetPlayerToFacePos(playerid, Float:X, Float:Y) { new Float:pX1, Float:pY1, Float:pZ1, Float:ang; if(!IsPlayerConnected(playerid)) return 0.0; GetPlayerPos(playerid, pX1, pY1, pZ1); if( Y > pY1 ) ang = (-acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0); else if( Y < pY1 && X < pX1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 450.0); else if( Y < pY1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0); if(X > pX1) ang = (floatabs(floatabs(ang) + 180.0)); else ang = (floatabs(ang) - 180.0); ang += 180.0; SetPlayerFacingAngle(playerid, ang); return ang; } //============================================================================== //------------------------------------------------- // ZCMD commands //------------------------------------------------- //============================================================================== CMD:fly(playerid, params[]) { if(IsPlayerAdmin(playerid)) { new Float:x, Float:y, Float:z; if((flying[playerid] = !flying[playerid])) { GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z+5); SetPlayerArmour(playerid, 1000000000.0); SetPlayerHealth(playerid, 1000000000.0); SetTimerEx("AdminFly", 100, 0, "d", playerid); } else { GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z+0.5); ClearAnimations(playerid); SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); return 1; } } else { SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command."); } return 1; } // © VGGaming 2012 - All rights Reserved
更改后文本
打开文件
#if defined EzgisssSistemler ******************************************************************************** EzgisssSistemler ---------------------- eFly l eSistemler ******************************************************************************** Kural 1 - -------- " Zcmd yüklü olması lazım. " Kural 2 - -------- " Arkadaşlar umarım sistemi beğenirsiniz. Emeğe saygı eFly. " ________________________________________________________________________________ ******************************************************************************** ================================================================================ #endif //İncludeler #include <a_samp> #include <zcmd> new bool:flying[MAX_PLAYERS]; forward AdminFly(playerid); forward Float:SetPlayerToFacePos(playerid, Float:X, Float:Y); public OnFilterScriptInit() { new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second); printf("\n------------------------------------------------"); printf(" eFly l EzgisssSistemler"); printf("------------------------------------------------\n"); printf("| Yükleniyor | Tarih: %d/%d/%d | Zaman: %d:%d:%d |",day,month,year,hour, minute, second); return 1; } public OnFilterScriptExit() { new year,month,day; getdate(year, month, day); new hour,minute,second; gettime(hour,minute,second); printf("\n------------------------------------------------"); printf(" eFly Sistemi Kapatıldı. l EzgisssSistemler"); printf("------------------------------------------------\n"); printf("| KAPATILIYOR | Tarih: %d/%d/%d | Zaman: %d:%d:%d |",day,month,year,hour, minute, second); return 1; } public AdminFly(playerid) { if(!IsPlayerConnected(playerid)) return flying[playerid] = false; if(flying[playerid]) { if(!IsPlayerInAnyVehicle(playerid)) { new keys, ud, lr, Float:x[2], Float:y[2], Float:z; GetPlayerKeys(playerid, keys, ud, lr); GetPlayerVelocity(playerid, x[0], y[0], z); if(ud == KEY_UP) { GetPlayerCameraPos(playerid, x[0], y[0], z); GetPlayerCameraFrontVector(playerid, x[1], y[1], z); ApplyAnimation(playerid, "SWIM", "SWIM_crawl", 4.1, 0, 1, 1, 0, 0); SetPlayerToFacePos(playerid, x[0] + x[1], y[0] + y[1]); SetPlayerVelocity(playerid, x[1], y[1], z); } else SetPlayerVelocity(playerid, 0.0, 0.0, 0.01); } SetTimerEx("AdminFly", 100, 0, "d", playerid); } return 0; } public Float:SetPlayerToFacePos(playerid, Float:X, Float:Y) { new Float:pX1, Float:pY1, Float:pZ1, Float:ang; if(!IsPlayerConnected(playerid)) return 0.0; GetPlayerPos(playerid, pX1, pY1, pZ1); if( Y > pY1 ) ang = (-acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0); else if( Y < pY1 && X < pX1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 450.0); else if( Y < pY1 ) ang = (acos((X - pX1) / floatsqroot((X - pX1)*(X - pX1) + (Y - pY1)*(Y - pY1))) - 90.0); if(X > pX1) ang = (floatabs(floatabs(ang) + 180.0)); else ang = (floatabs(ang) - 180.0); ang += 180.0; SetPlayerFacingAngle(playerid, ang); return ang; } //ZCMD Komut CMD:fly(playerid, params[]) { if(IsPlayerAdmin(playerid)) { new Float:x, Float:y, Float:z; if((flying[playerid] = !flying[playerid])) { GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z+5); SetPlayerArmour(playerid, 1000000000.0); SetPlayerHealth(playerid, 1000000000.0); SetTimerEx("AdminFly", 100, 0, "d", playerid); } else { GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z+0.5); ClearAnimations(playerid); SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); return 1; } } else { SendClientMessage(playerid, 0xB4B5B7FF, "Bu komutu kullanmak için yetkiniz yok."); } return 1; } //EzgisssSistemler
查找差异