Jump to content

mafia_wars

Membru
  • Posts

    138
  • Joined

  • Last visited

    Never

Posts posted by mafia_wars

  1. [pawn]public warover()

    {

    for(new i = 0; i < MAX_PLAYERS; i++)

    {

            SendClientMessageToAll(COLOR_RED, " ** The turf has been captured ! "); // This will show's everyone the message that the turf has been captured

    GivePlayerMoney(i, 50000); // The money the player will get after getting the turf

            SendClientMessage(i, COLOR_GREEN, " You managed to get away with $50,000 and a couple guns !"); // The message

    GivePlayerWeapon(i, 23, 80); // The wepeaon the player will get

    GivePlayerWeapon(i, 28, 2000); // Another weapon the player will get

    GangZoneDestroy(Grove_Street); // It will destroy the gangzone

            GangZoneDestroy(Garage_Gang); // ;;

            GangZoneDestroy(Ballaz_Gang);// ;;

        }

    }[/pawn]

  2. Tot ce a facut el a adaugat un dialog

    http://forum.sa-mp.com/showthread.php?t=246136&highlight=hair

    Fix 5 modele aceleasi si daca dai /default til dai jos +ca a venit cu aceleasi nume

    Eu am de foarte mult timp frizurile pe serverul meu

    Macar daca le gasea si el alt nume

    Dialogul probabil la facut cu un dialog creator

    EDIT:

    Am o intreabare de ai pus asa?
    Pawno Code: [Select]
    
    SkinOffSet[skin][8], SkinOffSet[skin][8], SkinOffSet[skin][8]);

    Degeaba il intrebi daca nu e facut de el nu are cum sa iti raspunda :wink:

  3. Deci dupa cum spune si titlul as vrea ca la comanda

    [pawn] if(strcmp(cmdtext, "/taketurf", true) == 0)

    {

    if(IsPlayerInTurf(playerid))

            {

          if (PlayerToPoint(300, playerid, 2533.0771,-1664.6176,15.1666))

            {

    Grove_Street = GangZoneCreate(2425.363, -1733.182, 2524.237, -1634.489);

                            SaveGangZones();

    GangZoneShowForPlayer(playerid, Grove_Street, 0x00FF0096);

                            GangZoneFlashForAll(playerid, 0xAA3333AA);

                            SetTimer("warover", 6000, 0);

    }

    else

    {

    SendClientMessage(playerid, COLOR_RED, " ** Nu sunteti la un point war ! **");

                return 1;

    }

        }

    [/pawn]

    Dupa ce cucereste un membru al factiuni acel point sa le dea la toti din factiune nu doar lui bani etc

    Cum as putea face? :shocked:

  4. Am facut sa se salveze tuningul la  masinile personale dar dupa ce dau /v park nu se salveaza paint jobul ex la sultan , elegy si alealante care au paint job nu se salveaza!

    Cum as putea face sa se salveze si paint job?

  5. Descarca inc ala  pune unde ai tu pawno\include pune ce ai descarcat

    Intra in gm/fs si adauga unde mai ai si alte include

    [pawn]#include <dbuffer>[/pawn]

    ai facut asta?

    Incearca sa faci ceva de genul

    [pawn] if(strcmp(cmd, "/cmds", true) == 0)

    {

        if(IsPlayerConnected(playerid))

        {

    ShowPlayerDialog(playerid, DIALOG_BLAH, DIALOG_STYLE_MSGBOX, "Dialog 1", "Info", "Next", "");

    ShowPlayerDialog(playerid, DIALOG_BLAH, DIALOG_STYLE_MSGBOX, "Dialog 2", "Info", "Next", "");

    ShowPlayerDialog(playerid, DIALOG_BLAH, DIALOG_STYLE_MSGBOX, "Dialog 3", "Info", "Close", "");

    }

    return 1;

    }[/pawn]

  6. [pawn]  if(strcmp(cmd, "/gotowar", true) == 0)

          {

              if(IsPlayerConnected(playerid))

              {

                if (IsAGangMember(playerid) && gangwar == 1)

                {

                  if(wartime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "You died, can't go back to war!");

                  GivePlayerWeapon(playerid, 30, 800);

                  GivePlayerWeapon(playerid, 24, 500);

                  GivePlayerWeapon(playerid, 16, 10);

                  SetPlayerPos(playerid, 228.9053,2504.6345,16.4844);

                  SetPlayerFacingAngle(playerid, 92);

                  wartime[playerid] = 1;

                SetTimerEx("war", 990000, 0, "%d", playerid);

                }

                else

                {

                  SendClientMessage(playerid, COLOR_GRAD1, "  Gang War is not start yet or you aren't a gangmember !");

                  return 1;

                }

            }

            return 1;

          }[/pawn]

    Cum as putea dupa ce se termina war-ul ! daupa ce ramane doar unul sa dea la toti din factiunea lui niste bani de ex 100.000$ ?

  7. Am incercat sa pun astea

    http://wiki.sa-mp.com/wiki/Saving_car_mods

    Dar imi da 5 erori

    [pawn]D:\sv\gamemodes\GM.pwn(1739) : error 021: symbol already defined: "lights"

    D:\sv\gamemodes\GM.pwn(1849) : warning 235: public function lacks forward declaration (symbol "SaveComponent")

    D:\sv\gamemodes\GM.pwn(1853) : error 017: undefined symbol "PlInfo"

    D:\sv\gamemodes\GM.pwn(1853) : warning 215: expression has no effect

    D:\sv\gamemodes\GM.pwn(1853) : error 001: expected token: ";", but found "]"

    D:\sv\gamemodes\GM.pwn(1853) : error 029: invalid expression, assumed zero

    D:\sv\gamemodes\GM.pwn(1853) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    5 Errors.

    [/pawn]

    [pawn]

    linai 1739

    new engine,lights,alarm,doors,bonnet,boot,objective;

    linia 1853

            if (strcmp(VehicleInfo[vehicleid][owner],PlInfo[playerid][name],false) == 0) {[/pawn]

  8. am facut dupa acest tutorial gang zone wars

    http://forum.sa-mp.com/showthread.php?t=276352

    Dar nu se porneste si nuj cum sa fac sa se porneasca

    [pawn]#define TAKEOVER_TIME 20 // how many seconds needed to take over the zone

    #define MIN_MEMBERS_TO_START_WAR 1 // how many team members needed in a zone to start a war[/pawn]

    Leam pus asa pentru al testa dar nici un rezultat!

    Ce ar trebui sa fac? Daca ar putea sa faca cineva un tutorial cu gang zone wars comanda /takezone

    Multumesc

  9. Si uite ce am in server.cfg  la plugins :  plugins streamer.so xstreamer.so sscanf.so audio.so
    
    CE AR TREBUI SA FAC ?
    

    Serverul este deschis pe windows sau pe host?

    Daca e pe windows pune : plugins streamer xstreamer sscanf audio

    Sau ia ultimele versiuni ale plugins-urilor

×
×
  • 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.