Jump to content

Bun venit pe HGZ.RO
Înregistrați-vă acum pentru a avea acces la toate funcțiile noastre. După ce v-ați înregistrat și ați înregistrat, 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 mesager privat, să actualizați postul, să vă gestionați profilul și multe altele. Dacă aveți deja un cont, login here - in caz contrar creează un cont gratuit astăzi!

Toggle shoutbox Chat HGZ-ROMANIA

@  2Life : (January 2018 - 08:14 PM) salut
@  olimpiu : (January 2018 - 08:12 PM) r3 ce faceti ?
@  2Life : (January 2018 - 08:10 PM) @Mr.Bean1 pentru ce server?
@  Mr.Bean1 : (January 2018 - 05:58 PM) imi dati si mie linkul de la news reporters regulament?
@  Mr.Bean1 : (January 2018 - 05:57 PM) ba
@  BlaCkWyNNNN... : (January 2018 - 02:47 PM) Salut
@  Dragosel : (January 2018 - 11:45 AM) Neatza
@  2Life : (January 2018 - 09:08 AM) iei la 5 euro și ai și baza de date și tot ce ai nevoie
@  2Life : (January 2018 - 08:44 AM) 5 la 100
@  2Life : (January 2018 - 08:44 AM) 3 € la 50 playeri
@  BlaCkWyNNNN... : (January 2018 - 08:49 PM) Ok hai NB!
@  sTrkissfm : (January 2018 - 08:19 PM) @BlaCkWyNNNN # -; x 5 euro
@  BlaCkWyNNNN... : (January 2018 - 06:45 PM) si cat e hostul de la 0lag?? 5e? 4e?
@  BlaCkWyNNNN... : (January 2018 - 06:44 PM) da dar... e nasol ds-ul
@  2Life : (January 2018 - 06:43 PM) Nu prea găsești gm uri bune fără mysql
@  2Life : (January 2018 - 06:43 PM) Dar Îți zic ca cel pe care îl ai e perfect pt server
@  BlaCkWyNNNN... : (January 2018 - 06:43 PM) sv gta merge frt
@  2Life : (January 2018 - 06:43 PM) @BlaCkWyNNNN # -; x Nu e bun, caută gm farăspuns baza de date
@  DeNiZsKeEp : (January 2018 - 06:40 PM) Deja sunt plictisit sa tot dau register si login .....
@  DeNiZsKeEp : (January 2018 - 06:40 PM) @2Life Imi dai mesaj cand e gata sv (COMPLET)

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 18 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;
    • }

    • DDoS HacKing, KmtWES, Cxsgvodo and 6 others like this

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


    Posted Image




    Posted Image


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


    #2
    niku_tp7

    niku_tp7
    Membru
    • Time Online: 11d 18h 3m 19s
  • 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