18.09.2010, 09:44
Well, I'm making a minigame with miniguns, but the anti-cheat would ban them for having that. I tried to add one thing (with GetPlayerVirtualWorld), but I had errors. The minigame is at virtual world 4 and 15. So, can you help me and allow the minigun on these virtual worlds?
Script of that:
Script of that:
Код:
#if defined ANTI_MINIGUN
new weap, ammo;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && PlayerInfo[i][Level] == 0)
{
GetPlayerWeaponData(i, 7, weap, ammo);
if(ammo > 1 && weap == 38) {
new string[128]; format(string,sizeof(string),"ANTICHEAT: %s has been automatically banned for spawning Minigun with %d ammo", PlayerName2(i), ammo);
SendClientMessageToAll(red,string);
Ban(i);
}
}
}
#endif


{