[POMOC]Oruzija..

Započeo [GP]Brain, Maj 04, 2013, 14:11:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:  GEFORCE
Detaljan opis problema: kad igraci baci oruzije komandom koja se nalazi u filterscripti drugi ga moze podici al kad ga drugi podigne bana ga anicheat ili kicka ne koristim junkbuster u geforcu je neki anticheat  kolko vidim...pogledao sam komandu u gm-u /givegun i pise SAFEgiveplayerweapon i odem u filterscriptu i na giveplayerweapon dodam taj SAFE i ocita ga ko error kako cu napraviti da drugi igrac moze podignit to oruzije a da ga ne banuje
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



pazi, stavi da cim igrac pokupi oruzje sa zemlje, da mu se stavi varijabla, primer uzo[playerid] = 1; i zatim u anticheatu gde banuje za weapon hack stavis proveru if(!uzo[playerid] == 0)
{
// i ovde nastavis kod

Citat: Blaeks poslato Maj 04, 2013, 14:35:24 POSLE PODNE
pazi, stavi da cim igrac pokupi oruzje sa zemlje, da mu se stavi varijabla, primer uzo[playerid] = 1; i zatim u anticheatu gde banuje za weapon hack stavis proveru if(!uzo[playerid] == 0)
{
// i ovde nastavis kod


brt nekontam te programer nisam haha tek pawn pocetnik evo ti komanda jel mos nastimat pls


http://pastebin.com/1tf2fSHM ssamo da mi to nastimas :D
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



dao sam ti objasnjenje, kako ne razumes ? dodas ovo na vrh new uzo[MAX_PLAYERS]; i onda u komandi gde dizes oruzje stavis mu varijablu uzo[playerid] = 1; i onda napravis proveru u anticheatu, kao sto sam ti dao ispod primer..

eo vam i anticheat ovo lmb i to prije gore nez sta je al eto vam i to i dole spustite imate anticheat di pise sve

http://pastebin.com/ATz63Bbc
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



Citat: Blaeks poslato Maj 04, 2013, 15:03:53 POSLE PODNE
dao sam ti objasnjenje, kako ne razumes ? dodas ovo na vrh new uzo[MAX_PLAYERS]; i onda u komandi gde dizes oruzje stavis mu varijablu uzo[playerid] = 1; i onda napravis proveru u anticheatu, kao sto sam ti dao ispod primer..


new dodam na vrh filterscripte to znam dalje... eo komanda podigni
u kojem dijelu komande  stavljam "uzo[playerid] = 1;" na pocetak kraj sredina di?

command(podigni, playerid, params[])
{
    for(new i = 0; i < sizeof(DropInfo); i++)
    {
        if (IsPlayerInRangeOfPoint(playerid, 2.0,DropInfo[i][DropGunPosX],DropInfo[i][DropGunPosY],DropInfo[i][DropGunPosZ]))
        {
            if(GetPlayerVirtualWorld(playerid) == DropInfo[i][DropGunVWorld] && GetPlayerInterior(playerid) == DropInfo[i][DropGunInterior])
            {
                GetPlayerName(playerid, sendername, sizeof(sendername));
                DestroyDynamicObject(DropObject[i]);
                GivePlayerWeapon(playerid,DropInfo[i][DropGunAmmount][0],DropInfo[i][DropGunAmmount][1]);
                DropInfo[i][DropGunPosX] = 0.0;
                DropInfo[i][DropGunPosY] = 0.0;
                DropInfo[i][DropGunPosZ] = 0.0;
                DropInfo[i][DropGunAmmount][0] = 0;
                DropInfo[i][DropGunAmmount][1] = 0;
                format(string, sizeof(string), "* %s je uzeo oruzje s poda.", sendername);
                SendLocalMessage(playerid, string, 10.0, COLOR_ACTION, COLOR_ACTION);
                return 1;
            }
        }
    }
    return 1;
}
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



kako cu i di dodat pls
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



neko objasnit detaljno
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



objasnio sam ti sve detaljno, a to sto ti ne zelis da pokusas da slusas, ili jos bolje da pokusas da uradis to, onda to moras sam sa sobom da se dogovoris, i nemoj da bumpas da ne lock..

treba da dodas sve sto ti je rekao i onda u anticheatu stavis if(uzo[playerid] = 1) da ga onda ne kick
BIG RESPECT JOEY_
BIG RESPECT [BD] Mr.Gagi

BIG RESPECT David A.k.A Sabljak

uradio sam sve sto si reko i opet error
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 017: undefined symbol "uzo"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : warning 215: expression has no effect
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 001: expected token: ";", but found "]"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


jer anticheat je u GM u njemu sam dodao if(uzo[playerid] = 1)
{

a ostalo sam doda u filterscriptu drugu i izbaci mi error kako ne kontas
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



Citat: Jacky1 poslato Maj 04, 2013, 20:39:49 POSLE PODNE
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 017: undefined symbol "uzo"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : warning 215: expression has no effect
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 001: expected token: ";", but found "]"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27097) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


jer anticheat je u GM u njemu sam dodao if(uzo[playerid] = 1)
{

a ostalo sam doda u filterscriptu drugu i izbaci mi error kako ne kontas


new uzo[MAX_PLAYERS];
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!

super crazy jos vece sr**** hahaha

C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27099) : warning 211: possibly unintended assignment
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27125) : warning 217: loose indentation
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27551) : warning 217: loose indentation
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27553) : warning 217: loose indentation
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27553) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27553) : error 004: function "OnVehicleMod" is not implemented
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27555) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27557) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27558) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27563) : warning 225: unreachable code
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27563) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27563) : error 004: function "OnVehiclePaintjob" is not implemented
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27565) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27567) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27572) : warning 225: unreachable code
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27572) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27572) : error 004: function "OnVehicleRespray" is not implemented
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27574) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27576) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27577) : error 017: undefined symbol "vehicleid"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27581) : warning 225: unreachable code
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27581) : error 029: invalid expression, assumed zero
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27581) : error 004: function "OnPlayerSelectedMenuRow" is not implemented
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27588) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27609) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27675) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27741) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27756) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27784) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27833) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(27962) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(28091) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(28220) : error 017: undefined symbol "row"
C:\Users\User\Other\Union Zone\gamemodes\Union.pwn(28349) : error 017: undefined symbol "row"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}



negdje ti fali }
Software Developer