Jump to content

Bine ai venit pe HGZ.RO - Cu respect pentru toti !
Înregistrați-vă acum pentru a avea acces la toate funcțiile noastre. După ce v-ați înregistrat și v-ați conectat, veți putea să creați subiecte, să răspundeți postărilor la subiectele existente, să vă dați reputație colegilor, să obțineți propriul dvs. mesager privat, să actualizați postul, să vă gestionați profilul și multe altele. Dacă aveți deja un cont, Autentifică-te aici - in caz contrar Creeaza un cont ! totul este free!

Toggle shoutbox Chat HGZ-ROMANIA

Posted ImageZ00M

@  ♚z00m... : (November 2017 - 10:49 PM) Multam sTrkissfm
@  sTrkissfm : (November 2017 - 08:53 PM) ce faci ma dan
@  sTrkissfm : (November 2017 - 08:52 PM) @Dennisa esti ?
@  ♚z00m... : (November 2017 - 08:12 PM) Eu :D
@  Dennisa : (November 2017 - 07:51 PM) care vr cadou? :)
@  Dennisa : (November 2017 - 07:50 PM) bn :P
@  ♚z00m... : (November 2017 - 05:18 PM) @Dennisa la categoria PS poti face modificari la modele si regulament
@  Dennisa : (November 2017 - 04:36 PM) ok:)
@  r0YaL : (November 2017 - 04:33 PM) @Dennisa ma ofer eu arbitru, si da, poti face regulamente din moment ce "detii" sectiunea...
@  Dennisa : (November 2017 - 04:11 PM) apex
@  Dennisa : (November 2017 - 03:55 PM) bn
@  Apex : (November 2017 - 03:54 PM) Gata Dennisa am facut cerere avatar
@  Dennisa : (November 2017 - 03:49 PM) La battle trebuie sa fie arbitru ca asa pot sa am prieteni pe toata comunitatea si sa ma voteze pt ca sunt prieteni cu mn :|
@  Apex : (November 2017 - 03:49 PM) ok:)
@  Dennisa : (November 2017 - 03:48 PM) faci o cerere avatar daca vr ca si asa nu am ce face :|
@  Dennisa : (November 2017 - 03:48 PM) lasa :)
@  Apex : (November 2017 - 03:47 PM) da-l*
@  Apex : (November 2017 - 03:46 PM) da-e skype
@  Dennisa : (November 2017 - 03:46 PM) Stiu eu sa fac regulamente dar lasa ;)
@  Apex : (November 2017 - 03:45 PM) Daca este nevoie o sa adauge sTrkissfm sau z00m

Photo

Comenzi . ( Scripting ). Partea I


  • This topic is locked
1 reply to this topic

#1
Ramjex

Ramjex
Members
  • Time Online: 3d 2h 44m 5s
  • PipPipPip
  • Members

    I've already made 83 posts

    I'm here from 11-March 17

    I have 17 like/s

    Contact Ramjex via PM

    Mention Ramjex

    I'm currently offline

    • Salutare HGZ. Astazi va voi da cateva comenzi scriptate de mine in pawno. Imi puteti lasa un reply cu alte comenzi vrute de voi, pareri, etc..
    •  
    •  
    •  
    • CMD:desync(playerid, params[])
    • {
    • if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
    • {
    • SCM(playerid, -1, "Possibly players with desync:");
    • foreach(Player, i)
    • {
    • if(GetPlayerPing(i) >= 200)
    • {
    • format(szMessage, 256, "Name: %s - Ping: %d", GetName(i), GetPlayerPing(i));
    • SCM(playerid, COLOR_FRED, szMessage);
    • }
    • }
    • }
    • return 1;
    • }

     

    Comenzi pentru report-uri ca admin.

     

     

    • CMD:ar(playerid, params[])
    • {
    • new id;
    • if(sscanf(params, "u", id)) return SendUsage(playerid, "/ar [playerid]");
    • {
    • if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
    • {
    • if(playerVariables[id][pReported] == 1)
    • {
    • SCM(id, COLOR_ATTACK, "Reportul tau a fost primit si este in curs de rezolvare.");
    • format(szMessage, sizeof(szMessage), "(/ar) %s has accepted %s's report.",GetName(playerid),GetName(id));
    • submitToHelpersAndAdmins(szMessage, COLOR_FRED);
    • playerVariables[playerid][pReportAccepted] = id;
    • playerVariables[id][pReported] = 0;
    • playerVariables[id][pReportAccepted2] = playerid;
    • }
    • }
    • }
    • return 1;
    • }
    • CMD:dr(playerid, params[])
    • {
    • new id;
    • if(sscanf(params, "u", id)) return SendUsage(playerid, "/dr [playerid]");
    • {
    • if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
    • {
    • if(playerVariables[id][pReported] == 1)
    • {
    • SCM(id, COLOR_ATTACK, "Reportul tau a fost sters.");
    • format(szMessage, sizeof(szMessage), "(/dr) %s has deleted %s's report.",GetName(playerid), GetName(id));
    • submitToHelpersAndAdmins(szMessage, COLOR_FRED);
    • playerVariables[id][pReported] = 0;
    • }
    • }
    • }
    • return 1;
    • }
    • CMD:cr(playerid, params[])
    • {
    • new id, message[128];
    • if(sscanf(params, "us[128]", id, message)) return SendUsage(playerid, "/cr [playerid] [text]");
    • {
    • if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
    • {
    • if(playerVariables[playerid][pReportAccepted] == id)
    • {
    • SCM(id, COLOR_ATTACK, "Reportul tau a fost rezolvat.");
    • format(szMessage, 256, "Admin %s: %s", GetName(playerid), message);
    • SCM(id, COLOR_ATTACK, szMessage);
    • format(szMessage, sizeof(szMessage), "(/cr) %s -> %s: %s",GetName(playerid), GetName(id),message);
    • submitToHelpersAndAdmins(szMessage, COLOR_FRED);
    • playerVariables[playerid][pReportAccepted] = -1;
    • playerVariables[id][pReportAccepted2] = -1;
    • }
    • }
    • }
    • return 1;
    • }
    • CMD:x(playerid, params[])
    • {
    • new id, message[128];
    • if(sscanf(params, "s[128]", message)) return SendUsage(playerid, "/x [text]");
    • {
    • if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
    • {
    • id = playerVariables[playerid][pReportAccepted];
    • if(id >= 0)
    • {
    • format(szMessage, 256, "(/x) Admin %s: %s", GetName(playerid), message);
    • SCM(id, COLOR_ATTACK, szMessage);
    • SCM(playerid, COLOR_ATTACK, szMessage);
    • }
    • }
    • else
    • {
    • new id2 = playerVariables[playerid][pReportAccepted2];
    • if(id2 >= 0)
    • {
    • format(szMessage, 256, "(/x) Player %s: %s", GetName(playerid), message);
    • SCM(id2, COLOR_ATTACK, szMessage);
    • SCM(playerid, COLOR_ATTACK, szMessage);
    • }
    • }
    • }
    • return 1;
    • }

     

    Si ultima comanda. O comanda pentru a muta un vehicul unei factiuni.

     

    • CMD:vmove(playerid, params[]) {
    • if(playerVariables[playerid][pAdminLevel] >= 7) {
    •    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside the vehicle that you wish to move.");
    •  
    • new
    • string[42];
    •  
    •         for(new x = 0; x < MAX_VEHICLES; x++) {
    •             if(vehicleVariables[x][vVehicleScriptID] == GetPlayerVehicleID(playerid)) {
    •  
    •                 GetVehiclePos(x, vehicleVariables[x][vVehiclePosition][0], vehicleVariables[x][vVehiclePosition][1], vehicleVariables[x][vVehiclePosition][2]);
    • GetVehicleZAngle(x, vehicleVariables[x][vVehicleRotation]);
    •  
    • DestroyVehicle(vehicleVariables[x][vVehicleScriptID]);
    • vehicleVariables[x][vVehicleScriptID] = CreateVehicle(vehicleVariables[x][vVehicleModelID], vehicleVariables[x][vVehiclePosition][0], vehicleVariables[x][vVehiclePosition][1], vehicleVariables[x][vVehiclePosition][2], vehicleVariables[x][vVehicleRotation], vehicleVariables[x][vVehicleColour][0], vehicleVariables[x][vVehicleColour][1], 60000);
    • PutPlayerInVehicle(playerid, vehicleVariables[x][vVehicleScriptID], 0);
    •  
    •                 saveVehicle(x);
    •  
    • format(string, sizeof(string), "You have successfully moved vehicle %d.", x);
    • SendClientMessage(playerid, COLOR_WHITE, string);
    • return 1;
    • }
    •         }
    • }
    • else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
    • return 1;
    • }

    • KmtWES, Cxsgvodo, FdrvUnwig and 5 others like this

    ----=====----=====----=====----


    Posted Image




    Posted Image


    ----=====----=====----=====----


    #2
    niku_tp7

    niku_tp7
    Membru
    • Time Online: 11d 15h 22m 38s
  • PipPipPip
  • Members

    I've already made 341 posts

    I'm here from 26-May 17

    I have 26 like/s

    Contact niku_tp7 via PM

    Mention niku_tp7

    I'm currently offline

    Multumim pentru ajutor.


    <p><span style="color:rgb(171,171,167);"><span style="font-family:Tahoma;"><span style="font-size:12px;"><span style="background-color:rgb(50,50,50);"><span style="color:rgb(0,255,0);"><span style="font-family:'comic sans ms';"><span style="font-size:24px;">Semant:NiKu_Tp7(Admin1337) pe pile.</span></span></span></span></span></span></span><span style="color:rgb(171,171,167);"><span style="font-family:Tahoma;"><span style="font-size:12px;"><span style="background-color:rgb(50,50,50);"><span style="color:rgb(0,255,0);"><span style="font-family:'comic sans ms';"><span style="font-size:24px;">Real.HgZ.Ro Cel mai tare server</span></span></span></span></span></span></span><span style="color:rgb(171,171,167);"><span style="font-family:Tahoma;"><span style="font-size:12px;"><span style="background-color:rgb(50,50,50);"><span style="color:rgb(0,255,0);"><span style="font-family:'comic sans ms';"><span style="font-size:24px;">Scripter Real.HgZ.Ro Respect!</span></span></span></span></span></span></span><span style="color:rgb(171,171,167);"><span style="font-family:Tahoma;"><span style="font-size:12px;"><span style="background-color:rgb(50,50,50);"><span style="color:rgb(0,255,0);"><span style="font-family:'comic sans ms';"><span style="font-size:24px;">Cel mai tare Forum.<3</span></span></span></span></span></span></span><p>Posted Image</p>


    0 user(s) are reading this topic

    0 members, 0 guests, 0 anonymous users