Jump to content

Gireada

V.I.P
  • Posts

    2,688
  • Joined

  • Last visited

  • Days Won

    25

Community Answers

  1. Gireada's post in Help Script Spawn Time was marked as the answer   
    public OnPlayerSpawn(playerid) {     if(firstspawn[playerid] == 0)     { SetPlayerInterior(playerid,0); TogglePlayerClock(playerid,0); SetTimerEx("spawntime", 2000, 0, "i", playerid); GameTextForPlayer(playerid, "~b~Please ~r~Waitn ~y~for spawned", 2000, 4); }     return 1; }   forward spawntime(playerid);   public spawntime(playerid) {     SetPlayerCameraPos(playerid, 349.8070, 1670.6421, 108.7149);     SetPlayerCameraLookAt(playerid, 349.2492, 1671.4767, 108.3148);     SetSpawnInfo(playerid, 0, 0, 349.8070, 1670.6421, 108.7149, 0,0,0,0,0,0); // --- firstspawn[playerid] = 1;     SpawnPlayer(playerid);     return 1; }   si pui   firstspawn[playerid] = 0; la OnPlayerConnect   si definesti in gamemode new firstspawn[MAX_PLAYERS];
  2. Gireada's post in Mysql Problem was marked as the answer   
    Fa update la o versiunea pe r7 sau mai sus
  3. Gireada's post in [5 Sec De Ajuta Va Rog] was marked as the answer   
    Ia-ti includerul core.inc si pune in pawno>include(in pawno cu care lucrezi tu)
  4. Gireada's post in [Nu Reusesc Sa Pornesc Un Gamemod] was marked as the answer   
    Aratane ce ai in forlderul plugins
  5. Gireada's post in Mysql Insert was marked as the answer   
    Problema rezolvata la ultimul strcat(gsString, "'0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0'"); am uitat sa pun o )
    strcat(gsString, "'0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0')");
  6. Gireada's post in Problema Mysql_Format was marked as the answer   
    Foloseste strcat.
  7. Gireada's post in Respawn La Toate Masinile Cu Exceptia Remorcilor. was marked as the answer   
    [pawn]if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] < 3)
    {
    SendClientMessage(playerid, COLOR_GRAD1, "* Nu ai acces la aceasta comanda!");
    return 1;
    }
    new bool:unwanted[CAR_AMOUNT];
    new str[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(str, sizeof(str), "Toate vehiculele de pe server au fost respawnate de catre administrator {87CEFA}%s{FFFFFF}!", sendername);
    SendClientMessageToAll(COLOR_WHITE, str);
    for(new player=0; player
    {
    if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
    }
    for(new car = 0; car <= 260; car++)
    {
    if(!unwanted[car] || (!(IsATrailer(vehicleid)) && !(IsTrailerAttachedToVehicle(vehicleid))) SetVehicleToRespawn(car);
    }
    for(new car = 264; car <= 350; car++)
    {
    if(!unwanted[car] || (!(IsATrailer(vehicleid)) && !(IsTrailerAttachedToVehicle(vehicleid))) SetVehicleToRespawn(car);
    }
    }
    return 1;
    }

    stock IsATrailer(vehicleid)
    {
    new model = GetVehicleModel(vehicleid);
    switch(model)
    {
    case 435, 450, 584, 591, 610, 611: return 1;
    }
    return 0;
    } [/pawn]
  8. Gireada's post in Intrebare Spedometer was marked as the answer   
    Nu ai ce modifica deoarece este o functie care masoara viteaza. Poate daca o schimbi pe ea.
  9. Gireada's post in Job truck help. was marked as the answer   
    1.Folosesti functia http://wiki.sa-mp.ro/wiki/SetVehiclePos asta pentru a aduce remorca la tine si http://wiki.sa-mp.ro/wiki/AttachTrailerToVehicle asta ca sa o atasezi.
    2.Ca sa iti mearga aceea comanda pui la IsPlayerInRangeOfPoint.... coordonatele ale locului y si camioane si remorci noi.
  10. Gireada's post in Ajutor obiect. was marked as the answer   
    Urmeaza tutorialul asta
  11. Gireada's post in Problema server. was marked as the answer   
    Daca vrei sa iti mearga cu IP trebuie sa faci port forward
  12. Gireada's post in Problema gangzone was marked as the answer   
    Cand iei coordonatele unui gangzone se i-a dupa urmatoarele puncte.
     

     
    Daca faci altfel o sa primesti bug-ul ala.
  13. Gireada's post in Problema War was marked as the answer   
    Uite aici timer-ul.
  14. Gireada's post in Problema Comanda God was marked as the answer   
    [pawn]if (IsPlayerAdmin(playerid)) return SendClientMessage (playerid, -1, "Ai nevoie de admin Level 1 pentru aceasta comanda");[/pawn]
     
     
    Uitate la parametrii functiei Aici
  15. Gireada's post in Adresa Casa was marked as the answer   
    I-a pune asa 
     
    [pawn]if(IsPlayerInRangeOfPoint(i, 1.0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))[/pawn]
  16. Gireada's post in User Control Panel was marked as the answer   
    Cauta pe google UCP SA-MP si vei gasi.
  17. Gireada's post in Problema Case was marked as the answer   
    http://pastebin.com/3iD7cVck
  18. Gireada's post in Problema Job. was marked as the answer   
    [pawn]
    if (strcmp("/stopbaloti", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pJob] != 8)
        {
            SendClientMessage(playerid, COLOR_GREY, "Server: Nu esti Distribuitor de baloti!");
            return 1;
        }
        if(!(CP[playerid] >= 601 && CP[playerid] <= 604))
        {
            SendClientMessage(playerid, COLOR_GREY, "Nu lucrezi");
            return 1;
        }
        new carid = GetPlayerVehicleID(playerid);
        SetVehicleToRespawn(carid);
        DisablePlayerCheckpoint(playerid);
        CP[playerid] = 0;
        SendClientMessage(playerid, COLOR_LIGHTGREEN, "{21BAE5}Ai terminat treaba pe ziua de azi.");
        return 1;
    }[/pawn]
×
×
  • 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.