Pomoc oko disarm sistema

Započeo Nure, Septembar 23, 2018, 17:09:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Problem(error/warning): E ovako,ubacivao sam neki disarm sistem i sad mi treba pomoc kako da kad on pukne da mu se oduzme oruzije ako ima disarm? ja sam probao ovako da napravim ali kad pukne samo ispise [Imas disarm]
Dio skripte: [pawn]public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
   new pid;
    if(PlayerInfo[playerid][pDisarm] == 1 && PlayerInfo[playerid][pDisarmVreme] > 0) return SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
   ResetPlayerWeapons(i);[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
Poslednja Izmena: Septembar 24, 2018, 08:40:34 PRE PODNE od Bašovski


Probaj vako:

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
   {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
   }
   return 1;
}

Citat: PazzOnee poslato Septembar 23, 2018, 17:16:54 POSLE PODNE
Probaj vako:

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
   {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
   }
   return 1;
}
local variable "string" shadows a variable at a preceding level izbacuje mi preko 26 errora

To ti izbacuje zbog neceg drugog, posalji linije

 :'(
Citat: PazzOnee poslato Septembar 23, 2018, 17:32:10 POSLE PODNE
To ti izbacuje zbog neceg drugog, posalji linije
Nije cim to izbacim nemam ni jedan error}

[pawn]public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
   {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
   }
   return 1;
}[/pawn]
Ovako sam ubacio isto ko i ti sto si stavio..I izbaci mi te errore

Dobro, posalji errore zajedno s linijama

[pawn]e\fixes.inc(3098) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\fixes.inc(3592) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\fixes.inc(3619) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\fixes.inc(4155) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\weapon-config.inc(1861) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\weapon-config.inc(2002) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\YSI\y_utils.inc(343) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\YSI\y_utils.inc(497) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\YSI\y_utils.inc(540) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\YSI\y_utils.inc(558) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\YSI\y_malloc.inc(216) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\sscanf2.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\sscanf2.inc(396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\mSelection.inc(698) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\dialogs.v2.7.inc(63) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\dialogs.v2.7.inc(201) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\pawno\include\dialogs.v2.7.inc(234) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(2835) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(4230) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(4270) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(4299) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(4322) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(4918) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5123) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5515) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5548) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5580) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5601) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5633) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(5662) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(7637) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8228) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8247) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8562) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8586) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8723) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8759) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8775) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8787) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(8802) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10012) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10257) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10374) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10470) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10486) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10515) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10558) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10644) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10668) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10692) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10716) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(10762) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(12298) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(12689) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13045) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13070) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13087) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13158) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13197) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13257) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13289) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13312) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13334) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13357) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13380) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13404) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13429) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13451) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13472) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13494) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13522) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13545) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13565) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13583) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13597) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13612) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13627) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13642) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13658) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13849) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13875) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13898) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13927) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13953) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13971) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(13989) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14007) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14057) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14278) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14408) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14429) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14464) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14571) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14617) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14638) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14657) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14699) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14723) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14744) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14770) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14789) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14817) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14874) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14904) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14939) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14961) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(14993) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15014) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15032) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15062) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15101) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15199) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15247) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15271) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15297) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15351) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15376) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15406) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15425) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15453) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15466) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15479) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15492) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15505) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15597) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15622) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15649) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15668) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15703) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15716) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15731) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15738) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15753) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15760) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15776) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15806) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15826) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15840) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(15892) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16557) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16585) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16715) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16740) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16776) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16820) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16879) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(16997) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17042) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17061) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17079) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17154) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17172) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17180) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17198) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17360) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17387) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17804) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17818) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17842) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17870) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17894) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(17932) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18259) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18298) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18324) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18357) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18383) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18500) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18581) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18618) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(18827) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19134) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19145) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19156) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19167) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19178) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19189) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19200) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19211) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19222) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19232) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19242) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19252) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19262) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19272) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19282) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19292) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19302) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19312) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19322) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19332) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19342) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19352) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19362) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19372) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19400) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19427) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19475) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19536) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19545) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19554) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19563) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19572) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19581) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19590) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19599) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19608) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19617) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19626) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19635) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19644) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19653) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19662) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19671) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19680) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19689) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19698) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19707) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19716) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19725) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19797) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19809) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19818) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19850) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19869) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19882) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19893) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19958) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(19987) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20013) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20031) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20049) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20063) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20077) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20122) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20180) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20226) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20273) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20315) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20357) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20376) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20483) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20498) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20680) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20693) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20709) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20781) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20799) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20817) : warning 219: local variable "Poz" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20857) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(20967) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Nure\Desktop\Mod\gamemodes\nure.pwn.pwn(32057) : error 021: symbol already defined: "AdminGameMaster"

Compilation aborted.

Pawn compiler 3.10.4           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[/pawn]


Citat: .Drakula. poslato Septembar 23, 2018, 19:09:54 POSLE PODNE
Ajde daj celi
public OnPlayerWeaponShot
[pawn]public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
   {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
   }
   return 1;
}
   new string[256];
    new Float:Poz[3];
   GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]); /* KORISTITI SAMO ZA ZADNJU PROTEKCIJU BULLET CRASHA I CRASH DETECTORA */

    if(playerid == INVALID_PLAYER_ID) return false;
   if(weaponid < 22 || weaponid > 38) return false;
   if(!(-20000.0 <= Poz[2] <= 20000.0)) return false;
   if(hittype != BULLET_HIT_TYPE_NONE)
   {
     if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT)))
    {
          format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
           AdminGameMaster(WHITE,string);
           ACKick(playerid,"Crasher Hack.");
           return false;
    }
    }
    if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet crash koristi ovaj type!
    {
        if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) ) //ako nije validan offset
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
           AdminGameMaster(WHITE,string);
           ACKick(playerid,"Crasher Hack.");
              return false; // Stavljamo return 0 da desyncamo taj bullet da nebi kreÅ¡avao druge igraèe
        }
        if(hitid == playerid)
        {
           format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
           AdminGameMaster(WHITE,string);
           ACKick(playerid,"Crasher Hack.");
           return false;
        }
    }
    if( hittype == 0 && !IsValidWeapon(weaponid) )
    {
    if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
    {
       format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
       AdminGameMaster(WHITE,string);
       ACKick(playerid,"Crasher Hack.");
       return false;
    }
    }

    if(hittype == BULLET_HIT_TYPE_PLAYER)
    {
       if(fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
       {
           format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
          AdminGameMaster(WHITE,string);
          ACKick(playerid,"Crasher Hack.");
           return false;
       }
    }
    if(hittype != BULLET_HIT_TYPE_NONE)
   {
        if(!(-1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0))
      {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Bullet Crasher Hacka.",ImeIgraca(playerid));
          AdminGameMaster(WHITE,string);
          ACKick(playerid,"Crasher Hack.");
         return false;
      }
   }
    return true;
}[/pawn]

Omg sta ti radis.?.!.!
[pawn]
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
    {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
    }

    new string[256];
    new Float:Poz[3];
    GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]); /* KORISTITI SAMO ZA ZADNJU PROTEKCIJU BULLET CRASHA I CRASH DETECTORA */

    if(playerid == INVALID_PLAYER_ID) return false;
    if(weaponid < 22 || weaponid > 38) return false;
    if(!(-20000.0 <= Poz[2] <= 20000.0)) return false;
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
     if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT)))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet crash koristi ovaj type!
    {
        if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) ) //ako nije validan offset
        {
             format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
             AdminGameMaster(WHITE,string);
             ACKick(playerid,"Crasher Hack.");
             return false; // Stavljamo return 0 da desyncamo taj bullet da nebi kreÅ¡avao druge igraèe
        }
        if(hitid == playerid)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == 0 && !IsValidWeapon(weaponid) )
    {
        if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == BULLET_HIT_TYPE_PLAYER)
    {
        if(fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
        if(!(-1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Bullet Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    return true;
}[/pawn]

Citat: .Drakula. poslato Septembar 23, 2018, 19:22:40 POSLE PODNE
Omg sta ti radis.?.!.!
[pawn]
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
    {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
    }

    new string[256];
    new Float:Poz[3];
    GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]); /* KORISTITI SAMO ZA ZADNJU PROTEKCIJU BULLET CRASHA I CRASH DETECTORA */

    if(playerid == INVALID_PLAYER_ID) return false;
    if(weaponid < 22 || weaponid > 38) return false;
    if(!(-20000.0 <= Poz[2] <= 20000.0)) return false;
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
     if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT)))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet crash koristi ovaj type!
    {
        if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) ) //ako nije validan offset
        {
             format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
             AdminGameMaster(WHITE,string);
             ACKick(playerid,"Crasher Hack.");
             return false; // Stavljamo return 0 da desyncamo taj bullet da nebi kreÅ¡avao druge igraèe
        }
        if(hitid == playerid)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == 0 && !IsValidWeapon(weaponid) )
    {
        if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == BULLET_HIT_TYPE_PLAYER)
    {
        if(fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
        if(!(-1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Bullet Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    return true;
}[/pawn]
Pa radim kako mi ovaj napisao da ubacim..Mozes ti meni da ubacis to ?

Nadjes u skripti:
[pawn]public OnPlayerWeaponShot[/pawn]
Selektujes sve, izbrises i stavis ovo moje.
Celi tvoj: OnPlayerWeaponShot ,zamenis sa mojim OnPlayerWeaponShot.
[pawn]
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(PlayerInfo[playerid][pDisarm] == 1)
    {
      ResetPlayerWeapons(playerid);
      SCM(playerid,-1, ""CRVENA"[MG:RPG] "SIVA"Imas disarm");
    }

    new string[256];
    new Float:Poz[3];
    GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]); /* KORISTITI SAMO ZA ZADNJU PROTEKCIJU BULLET CRASHA I CRASH DETECTORA */

    if(playerid == INVALID_PLAYER_ID) return false;
    if(weaponid < 22 || weaponid > 38) return false;
    if(!(-20000.0 <= Poz[2] <= 20000.0)) return false;
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
     if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT)))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet crash koristi ovaj type!
    {
        if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) ) //ako nije validan offset
        {
             format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
             AdminGameMaster(WHITE,string);
             ACKick(playerid,"Crasher Hack.");
             return false; // Stavljamo return 0 da desyncamo taj bullet da nebi kreÅ¡avao druge igraèe
        }
        if(hitid == playerid)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == 0 && !IsValidWeapon(weaponid) )
    {
        if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype == BULLET_HIT_TYPE_PLAYER)
    {
        if(fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    if(hittype != BULLET_HIT_TYPE_NONE)
    {
        if(!(-1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0))
        {
            format(string,sizeof(string),"{e60000}MG:RPG  {FFFFFF}%s je kikovan sa servera zbog koristenja Bullet Crasher Hacka.",ImeIgraca(playerid));
            AdminGameMaster(WHITE,string);
            ACKick(playerid,"Crasher Hack.");
            return false;
        }
    }
    return true;
}[/pawn]

Daleko bilo da radis kako sam ti ja rekao da ubacis, da imas imalo iskustva ovo ti se ne bi desilo...

Citat: PazzOnee poslato Septembar 23, 2018, 20:17:34 POSLE PODNE
Daleko bilo da radis kako sam ti ja rekao da ubacis, da imas imalo iskustva ovo ti se ne bi desilo...
U tome je i problem.Ucim se da radim josh :)) Ne osudjuj odma id u kurac :D I ti si od nekuda krenuo.