Am1L

Am1L

Street Runner

Poslednja aktivnost

pre 8 meseci

postova

12

Kreiranih tema

7

XP

190

Pridružio se

avg. 2021

Trenutna aktivnost

Izgleda da Am1L trenutno ne radi ništa

Odgovorio na Nov 11, 2021
Stats TextDraw
GTA San Andreas Multiplayer / Textdraw Galerije
#stanojević wrote on November 9, 2021, 10:15 pm:
Ocene ?


BRATE KOJI TD EDITOR KORISTIS I DA LI MOZE LINK OD EDITORA 😕 😕
Odgovorio na Oct 26, 2021
WARNING
GTA San Andreas Multiplayer / Pitanja & Pomoć
Problem(error/warning): C:\Users\mahmu\Desktop\SEKSI\gamemodes\v_Script.pwn(71537) : warning 219: local variable "gpsid" shadows a variable at a preceding level
C:\Users\mahmu\Desktop\SEKSI\gamemodes\v_Script.pwn(71545) : warning 219: local variable "gpsid" shadows a variable at a preceding level
Deo skripte:
forward LoadGPS(gpsid,  name[], value[]);
public LoadGPS(gpsid, name[], value[]) {
INI_String("Naziv",gpsInfo, 128);
INI_Float("X",gpsInfo);
    INI_Float("Y",gpsInfo);
    INI_Float("Z",gpsInfo);
return (1);
}
////////////////////////////////////////////////////////
stock SaveGPS(gpsid) {
new kFile;
    format(kFile, sizeof(kFile), GPS_FILE, gpsid);
new INI:File = INI_Open(kFile);
INI_WriteString(File,"Naziv",gpsInfo);
    INI_WriteFloat(File,"X",gpsInfo);
    INI_WriteFloat(File,"Y",gpsInfo);
    INI_WriteFloat(File,"Z",gpsInfo);
INI_Close(File);
return (1);
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Odgovorio na Oct 23, 2021
NE CUVAJU MI BEZINSKE PUMPE U MYSQL
GTA San Andreas Multiplayer / Pitanja & Pomoć
Problem(error/warning): Necuva mi pumpe koje priram u databazu
Deo skripte:
protected mSQL_CreateFuelStation( createID )
{
static q;
    mysql_format( mSQL, q, sizeof( q ),
   
"INSERT INTO `fuel_stations` ( fsBussinesID, fsFuelPrice, fsPos1, fsPos2, fsPos3 ) \
VALUES( '%d', '%d', '%d', '%d', '%d', '%f', '%f', '%f' )",

        FuelStation[ createID ][ fsBussinesID ], FuelStation[ createID ][ fsFuelPrice ], FuelStation[ createID ][ fsPos ][ 0 ], FuelStation[ createID ][ fsPos ][ 1 ], FuelStation[ createID ][ fsPos ][ 2 ] );

    mysql_tquery( mSQL, q, "OnFuelStationCreated", "i", createID );
return(true);
}
protected OnFuelStationCreated( createID )
{
FuelStation[ createID ][ fsSQLID ] = cache_insert_id();
return(true);
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[11:20:02 10/22/21] mysql_format - no value for specifier "%f" available
[11:20:02 10/22/21] mysql_format - no value for specifier "%f" available
[11:20:02 10/22/21] mysql_format - no value for specifier "%f" available
[11:20:02 10/22/21] CMySQLQuery::Execute - (error #1136) Column count doesn't match value count at row 1 (Query: "INSERT INTO `fuel_stations` ( fsBussinesID, fsFuelPrice, fsPos1, fsPos2, fsPos3 ) VALUES( '7', '2', '1148904002', '-999769157', '1110002024', '', '', '' )")
Odgovorio na Oct 22, 2021
Pitanje
GTA San Andreas Multiplayer / Pitanja & Pomoć
Kako da spojim 2 data baze u 1 (MySQL) 😕 😕

Una'prijed zahvaljujem
Odgovorio na Oct 20, 2021
Pomoc
GTA San Andreas Multiplayer / Pitanja & Pomoć
forward Fakee(playerid);
public Fakee(playerid)
{
if(playerid == INVALID_PLAYER_ID) return 0;
FakeKillPlus[ playerid ]++;
if( FakeKillPlus[ playerid ] >= 3 )
{
new str;
format( str, sizeof( str ), "{F81414}(protect) {F3FF02}%s (%d) je dobio ban ip. Razlog: Fake Kill", ImeIgraca( playerid ),playerid );
AdminPoruka( ANTICHEAT, str );
//Kickovanje( playerid, "Ti si kickovan sa servera. {FF7300}| Razlog: {FFFFFF}Fake kill");
Ban(playerid);
}
return 1;
}
forward Fakee2(playerid);
public Fakee2(playerid)
{
FakeKillPlus[ playerid ] = 0;
return 1;
}

Evo pa ti vidi jesam gdje promasijo
Odgovorio na Oct 19, 2021
Pomoc
GTA San Andreas Multiplayer / Pitanja & Pomoć
debug] Run time error 4: "Array index out of bounds"
  Attempted to read/write array element at index 65535 in array of size 1000
AMX backtrace:
#0 00906ac0 in public Fakee (playerid=65535) at C:\Users\mahmu\Desktop\JV RP\gamemode\gamemodes\v_Script.pwn:71752
Run time error 4: "Array index out of bounds"
  Attempted to read/write array element at index 65535 in array of size 1000
AMX backtrace:
#0 00906c70 in public Fakee2 (playerid=65535) at C:\Users\mahmu\Desktop\JV RP\gamemode\gamemodes\v_Script.pwn:71766
Odgovorio na Oct 19, 2021
Pomoc
GTA San Andreas Multiplayer / Pitanja & Pomoć
Problem(error/warning): Kada ucem u igru i kada neko auto eksplodira iz nekog razloga svima kresha il jih kicka sa srw,
u skripti nema nikakav error.
Deo skripte:
//

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//
Odgovorio na Oct 19, 2021
MYSQL ERROR
GTA San Andreas Multiplayer / Pitanja & Pomoć
Hvala svima rjesio sam
Odgovorio na Oct 19, 2021
MYSQL ERROR
GTA San Andreas Multiplayer / Pitanja & Pomoć
Problem(error/warning):  Kad pokrenem mod i ucem u samp ne izbacuje mi dialog, evo imate dole mysql_log
Deo skripte:
protected CheckPlayerAccount( playerid )
{
    new rows, fields;
    cache_get_data( rows, fields, mSQL );

    if( !rows )
{
        if( !IsValidRoleplayName( ImeIgraca( playerid ) ) )
{
SendClientMessage( playerid, CRVENA, "#NON-RP NICKNAME: {FFFFFF}Dobili ste kick zbog krivo formatiranog imena." );
SendClientMessage( playerid, CRVENA, "#NON-RP NICKNAME: {FFFFFF}Vase ime mora biti u formatu {FA5555}'Ime_Prezime'." );
defer KickIgraca(playerid);
return 1;
}

    if( ServerInfo[ Registracija ] == false )
{
SendClientMessage( playerid, CRVENA, "#REGISTER: {FFFFFF}REGISTRACIJA JE TRENUTNO ONEMOGUCENA." );
SendClientMessage( playerid, CRVENA, "#REGISTER: {FFFFFF}JV - ADMIN TEAM." );
defer KickIgraca(playerid);
            return 1;
    }

    Register(playerid);
    }
    else
{
        cache_get_field_content( 0, "password", PlayerInfo[ playerid ][ xLozinka ], mSQL, 150 );
PlayerInfo[ playerid ][ xRegistrovan ] = cache_get_field_content_int( 0, "registered" );
PlayerInfo[ playerid ][ xID ] = cache_get_field_content_int( 0, "user_id" );
PlayerInfo[ playerid ][ xLevel ] = cache_get_field_content_int( 0, "level" );
PlayerInfo[ playerid ][ xRespekt ] = cache_get_field_content_int( 0, "exp" );
PlayerInfo[ playerid ][ xOnlineSati ] = cache_get_field_content_int( 0, "xOnlineSati" );
PlayerInfo[ playerid ][ xDrzava ] = cache_get_field_content_int( 0, "country" );
PlayerInfo[ playerid ][ xNovac ] = cache_get_field_content_int( 0, "money" );
PlayerInfo[ playerid ][ xBRacun ] = cache_get_field_content_int( 0, "xBRacun" );
PlayerInfo[ playerid ][ xPosao ] = cache_get_field_content_int( 0, "job_id" );
PlayerInfo[ playerid ][ xUgovor ] = cache_get_field_content_int( 0, "contract" );
PlayerInfo[ playerid ][ xSkin ] = cache_get_field_content_int( 0, "skin_id" );
PlayerInfo[ playerid ][ xWarn ] = cache_get_field_content_int( 0, "warn" );
PlayerInfo[ playerid ][ xAdmin ] = cache_get_field_content_int( 0, "admin_lvl" );
PlayerInfo[ playerid ][ xHelper ] = cache_get_field_content_int( 0, "helper_level" );
PlayerInfo[ playerid ][ xTestAdmin ] = cache_get_field_content_int( 0, "xTestAdmin" );
PlayerInfo[ playerid ][ xVIPLevel ] = cache_get_field_content_int( 0, "vip_level" );
PlayerInfo[ playerid ][ xVPoen ] = cache_get_field_content_int( 0, "v_poen" );
PlayerInfo[ playerid ][ xVCoin ] = cache_get_field_content_int( 0, "xVCoin" );
PlayerInfo[ playerid ][ xTogStats ] = bool:cache_get_field_content_int( 0, "xTogStats" );

        if( PlayerInfo[ playerid ][ xRegistrovan ] == 1 )
{
            new query;
mysql_format( mSQL, query, sizeof(query), "SELECT * FROM `banned` WHERE `user_id` = '%d' LIMIT 1", PlayerInfo[ playerid ][ xID ] );
mysql_pquery( mSQL, query, "CheckPlayerBan", "i", playerid );
}
else
{
    if( ServerInfo[ Registracija ] == false )
{
        SendClientMessage( playerid, CRVENA, "#REGISTER: {FFFFFF}REGISTRACIJA JE TRENUTNO ONEMOGUCENA." );
SendClientMessage( playerid, CRVENA, "#REGISTER: {FFFFFF}JV - ADMIN TEAM." );
        defer KickIgraca(playerid);
        return 1;
    }

Register(playerid);
}
    }
return(true);
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
 CMySQLQuery::Execute - (error #1054) Unknown column 'xTogStats' in 'field list' (Query: "SELECT `registered`, `password`, `user_id`, `level`, `exp`, `xOnlineSati`, `country`, `money`, `xBRacun`, `job_id`, `contract`, `skin_id`, `warn`, `admin_lvl`, `helper_level`, `xTestAdmin`, `vip_level`, `v_poen`, `xVCoin`, `xTogStats` FROM `users` WHERE `p_name` = 'Amil_Vetar' LIMIT 1")
2

Novi Član

Nivo 2

Iskustvo 90 / 100 XP
Ukupno XP: 190 10 XP do sledećeg nivoa
5
Dostignuća
190
Ukupno XP
0
Trenutni Niz
0
Najduži Niz

Sva Dostignuća

5 / 20 otključano

Prikaži sve →
🎯
Početak
Početak
Napišite 10 postova na forumu
+25 XP
Aktivni Saradnik
Aktivni Saradnik
Napišite 50 postova na forumu
+50 XP
🏅
Klub Stotina
Klub Stotina
Napišite 100 postova na forumu
+100 XP
🏆
Legenda Foruma
Legenda Foruma
Napišite 500 postova na forumu
+250 XP
👥
Vođa Diskusija
Vođa Diskusija
Kreirajte 10 tema na forumu
+50 XP
🛡️
Uzoran Građanin
Uzoran Građanin
30 dana bez ikakvih upozorenja
+40 XP
🔰
Primerni Član
Primerni Član
90 dana bez ikakvih upozorenja
+100 XP
🚩
Čuvar Zajednice
Čuvar Zajednice
Pošaljite 5 korisnih prijava
+75 XP
📅
Nedeljni Ratnik
Nedeljni Ratnik
Prijavite se 7 dana zaredom
+35 XP
🔥
Posvećeni Fan
Posvećeni Fan
Prijavite se 30 dana zaredom
+150 XP
💬
Prvi Post
Prvi Post
Napišite svoj prvi post na forumu
+10 XP
📝
Pokretač Tema
Pokretač Tema
Kreirajte svoju prvu temu
+15 XP
❤️
Poštovalac
Poštovalac
Dajte svoj prvi lajk na post
+5 XP
👍
Prvo Priznanje
Prvo Priznanje
Primite svoj prvi lajk na post
+5 XP
👤
Identitet Otkriven
Identitet Otkriven
Popunite profil sa avatarom i biografijom
+20 XP

Nedavna XP Aktivnost

+100
Otključano: Primerni Član
pre 1 nedelju
Dostignuće
+40
Otključano: Uzoran Građanin
pre 1 nedelju
Dostignuće
+25
Otključano: Početak
pre 1 nedelju
Dostignuće
+15
Otključano: Pokretač Tema
pre 1 nedelju
Dostignuće
+10
Otključano: Prvi Post
pre 1 nedelju
Dostignuće