Jump to content

SakonX

Membru
  • Posts

    8
  • Joined

  • Last visited

Posts posted by SakonX

  1. Am incercat sa fac urmatoarea comanda care sa scrie ceva despre id-ul x, dar mie nu imi merge, asa imi arata cand dau comanda: https://imgur.com/a/IuAztyb si imi pune cu CapsLock la fiecare comanda din script chiar daca nu am CapsLockul pornit.

     

    Script:

    :cmd_15
    SAMP.IsCommandTyped(20@)
    if
    0AD4: 20@ = scan_string 20@ format "%d" 21@
    then
     0B36: samp 1@ = get_player_nickname 21@
     0AF9: samp say_msg "Ce faci %s?" 1@
    else
     {FFFFFF}chatmsg "{FFCC66}Syntax: [{FFFFFF}id{FFCC66}]"
    end
    SAMP.CmdRet()

  2. 📉Caut web developer care sa se ocupe de mai multe site-uri in totalitate (Scripting HTML, PHP, Java script.)!📉

    💸 Plata o sa fie discutata in privat, aceasta este in functie de update-uri si de activitatea pe care o acorzi site-urilor!💸

    Contact:

    Discord: Xnocs#0031 

  3. Aceasta este linia:

    function Timers() {
        new i, anim, Float: animpos[3];
            if (PlayerInfo[i][pAdmin] < 1 && ac_flyhack == 1) {
                    anim = GetPlayerAnimationIndex(i), GetPlayerVelocity(i, animpos[0], animpos[1], animpos[2]);            
                    if(animpos[0] <= -0.800000 || animpos[1] <= -0.800000 || animpos[2] <= -0.800000 && anim == 1008) {
                    SendAdmins(COLOR_RED2, "AdmWarning: %s (%d) este suspectat de Fly-Hack.", 1, GetName(i), i);
                    new surfx = GetPlayerSurfingVehicleID(i);
                    if(surfx == INVALID_VEHICLE_ID && !IsABike2(gLastCar[i])) {                    
                    CheatWarnings[i] += 2;
                    defer KickEx(i);
                    }
                }
            }                    
        }        
        OtherTimer();
        return true;

    Si primesc urmatoarele errori:

    C:\Users\SaKONx\Desktop\DarkPearl\gamemode DarkPearl\gamemodes\darkpearl.pwn(846) : loose indentation
    C:\Users\SaKONx\Desktop\DarkPearl\gamemode DarkPearl\gamemodes\darkpearl.pwn(859) : error 010: invalid function or declaration

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.