[Include] [INC] Ultimate Anticheat (UAC) - [v1.3] - 12 Languages ! # Fixed !
#61

Very good anticheat!
Reply
#62

just what i needed, thanks
Reply
#63

Good Work.
Reply
#64

goood
Reply
#65

Download link pls
Reply
#66

Quote:
Originally Posted by MrRampage67
Посмотреть сообщение
Download link pls
Why did you dump when you see the include file is from 2009 wich pretty much everything was changed !
Reply
#67

Quote:

C:\Documents and Settings\THIENSONG\Desktop\PPC_Trucking6\pawno\inc lude\UAC.inc(813) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
C:\Documents and Settings\THIENSONG\Desktop\PPC_Trucking6\pawno\inc lude\UAC.inc(815) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\Documents and Settings\THIENSONG\Desktop\PPC_Trucking6\pawno\inc lude\UAC.inc(816) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\Documents and Settings\THIENSONG\Desktop\PPC_Trucking6\pawno\inc lude\UAC.inc(817) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Warnings.


What eror
Reply
#68

Quote:
Originally Posted by par30
Посмотреть сообщение
What eror
You still using this?

Try rempving that code in the including:
Код:
// line 61-71
forward UAC_OnPlayerStateChange(playerid, newstate, oldstate);
forward UAC_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger);
forward UAC_OnPlayerCommandText(playerid, cmdtext[]);
forward UAC_OnPlayerText(playerid, text[]);
forward UAC_OnPlayerConnect(playerid);
forward UAC_OnPlayerSpawn(playerid);
forward UAC_OnPlayerDisconnect(playerid,reason);
forward UAC_OnGameModeInit();
forward UAC_OnGameModeExit();
forward UAC_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid);
forward UAC_OnPlayerDeath(playerid,killerid,reason);

// at the bottom
#define OnPlayerStateChange UAC_OnPlayerStateChange
#define OnPlayerEnterVehicle UAC_OnPlayerEnterVehicle
#define OnPlayerCommandText UAC_OnPlayerCommandText
#define OnPlayerText UAC_OnPlayerText
#define OnPlayerConnect UAC_OnPlayerConnect
#define OnPlayerDisconnect UAC_OnPlayerDisconnect
#define OnGameModeInit UAC_OnGameModeInit
#define OnGameModeExit UAC_OnGameModeExit
#define OnPlayerSpawn UAC_OnPlayerSpawn
#define OnPlayerInteriorChange UAC_OnPlayerInteriorChange
#define OnPlayerDeath UAC_OnPlayerDeath
and add at the bottom of the include:
Код:
#if defined _ALS_OnPlayerCommandText
	#undef OnPlayerCommandText
#else
	#define _ALS_OnPlayerCommandText
#endif
#define OnPlayerCommandText UAC_OnPlayerCommandText
forward UAC_OnPlayerCommandText(playerid, cmdtext[]);

#if defined _ALS_OnPlayerStateChange
	#undef OnPlayerStateChange
#else
	#define _ALS_OnPlayerStateChange
#endif
#define OnPlayerStateChange UAC_OnPlayerStateChange
forward UAC_OnPlayerStateChange(playerid, newstate, oldstate);

#if defined _ALS_OnPlayerEnterVehicle
	#undef OnPlayerEnterVehicle
#else
	#define _ALS_OnPlayerEnterVehicle
#endif
#define OnPlayerEnterVehicle UAC_OnPlayerEnterVehicle
forward UAC_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger);

#if defined _ALS_OnPlayerText
	#undef OnPlayerText
#else
	#define _ALS_OnPlayerText
#endif
#define OnPlayerText UAC_OnPlayerText
forward UAC_OnPlayerText(playerid, text[]);

#if defined _ALS_OnPlayerConnect
	#undef OnPlayerConnect
#else
	#define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect UAC_OnPlayerConnect
forward UAC_OnPlayerConnect(playerid);

#if defined _ALS_OnPlayerDisconnect
	#undef OnPlayerDisconnect
#else
	#define _ALS_OnPlayerDisconnect
#endif
#define OnPlayerDisconnect UAC_OnPlayerDisconnect
forward UAC_OnPlayerDisconnect(playerid,reason);

#if defined _ALS_OnGameModeInit
	#undef OnGameModeInit
#else
	#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit UAC_OnGameModeInit
forward UAC_OnGameModeInit();

#if defined _ALS_OnGameModeExit
	#undef OnGameModeExit
#else
	#define _ALS_OnGameModeExit
#endif
#define OnGameModeExit UAC_OnGameModeExit
forward UAC_OnGameModeExit();

#if defined _ALS_OnPlayerSpawn
	#undef OnPlayerSpawn
#else
	#define _ALS_OnPlayerSpawn
#endif
#define OnPlayerSpawn UAC_OnPlayerSpawn
forward UAC_OnPlayerSpawn(playerid);

#if defined _ALS_OnPlayerInteriorChange
	#undef OnPlayerInteriorChange
#else
	#define _ALS_OnPlayerInteriorChange
#endif
#define OnPlayerInteriorChange UAC_OnPlayerInteriorChange
forward UAC_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid);

#if defined _ALS_OnPlayerDeath
	#undef OnPlayerDeath
#else
	#define _ALS_OnPlayerDeath
#endif
#define OnPlayerDeath UAC_OnPlayerDeath
forward UAC_OnPlayerDeath(playerid,killerid,reason);
maybe this helps you. sry for bumping this old topic.
Reply
#69

Nice, I might use it on my server.
Reply
#70

Nince script
Reply
#71

Good anticheat!
I liked it, I even wanted to take from it something for yourself. That's why I decided to translate into Russian
If the author would approve and add it as a theme, I would be very happy about it

http://www.solidfiles.com/d/be12b611a9/UAC_RUS.rar

P.s. Sorry for my bad English)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)