19.10.2012, 07:49
PHP код:
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
new God[MAX_PLAYERS];
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" The Cheat System By Team_PRO is LOADED");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main(){}
#endif
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(God[playerid] == 1)
{
SetPlayerHealth(playerid,100);
}
return 1;
}
CMD:hesoyam(playerid,params[])
{
SetPlayerHealth(playerid,100.00);
SetPlayerArmour(playerid,100.00);
GivePlayerMoney(playerid,250000);
SendClientMessage(playerid,0xFF0000,"Cheat Activated.");
return 1;
}
CMD:lxgiwyl(playerid,params[])
{
GivePlayerWeapon(playerid, 331,1);
GivePlayerWeapon(playerid, 347,99999);
GivePlayerWeapon(playerid, 349,99999);
GivePlayerWeapon(playerid, 352,99999);
GivePlayerWeapon(playerid, 355,99999);
GivePlayerWeapon(playerid, 357,99999);
GivePlayerWeapon(playerid, 359,99999);
GivePlayerWeapon(playerid, 363,99999);
GivePlayerWeapon(playerid, 364,1);
GivePlayerWeapon(playerid, 344,99999);
SendClientMessage(playerid,0xFF0000,"Cheat Activated.");
return 1;
}
CMD:baguvix(playerid,params[])
{
God[playerid] = 1;
SendClientMessage(playerid,0xFF0000,"Cheat Activated.");
return 1;
}
CMD:uzumymw(playerid,params[])
{
GivePlayerWeapon(playerid, 341,1);
GivePlayerWeapon(playerid, 342,99999);
GivePlayerWeapon(playerid, 346,99999);
GivePlayerWeapon(playerid, 351,99999);
GivePlayerWeapon(playerid, 353,99999);
GivePlayerWeapon(playerid, 356,99999);
GivePlayerWeapon(playerid, 358,99999);
GivePlayerWeapon(playerid, 362,99999);
GivePlayerWeapon(playerid, 366,99999);
SendClientMessage(playerid,0xFF0000,"Cheat Activated.");
return 1;
}
CMD:professionalskit(playerid,params[])
{
GivePlayerWeapon(playerid, 335,1);
GivePlayerWeapon(playerid, 348,99999);
GivePlayerWeapon(playerid, 350,99999);
GivePlayerWeapon(playerid, 372,99999);
GivePlayerWeapon(playerid, 356,99999);
GivePlayerWeapon(playerid, 358,99999);
GivePlayerWeapon(playerid, 361,99999);
GivePlayerWeapon(playerid, 342,99999);
GivePlayerWeapon(playerid, 366,99999);
SendClientMessage(playerid,0xFF0000,"Cheat Activated.");
return 1;
}
ANd have you used on GameModeInit/Exit?