Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ajutor pentru servere de GMP.
#1
@Meph , ca sa schimbi ceea ce ziceai tu, arunca o privire aici.

Cod pentru clase:
Code:
function OnGameModeInit()

AddPlayerClass("PC_HERO",x, z, y, 0,x, z, y, 0);

end

function OnPlayerChangeClass(playerid, classid)

        if classid == 0 then
            Comandant(playerid);
        end
end

function Comandant(playerid)

SetPlayerInstance(playerid,"PC_HERO");
SetPlayerMaxHealth(playerid,1250);
SetPlayerHealth(playerid,1250);
SetPlayerStrength(playerid,150);
SetPlayerMaxMana(playerid,10);
SetPlayerDexterity(playerid,100);
SetPlayerSkillWeapon(playerid,0,90);
SetPlayerSkillWeapon(playerid,1,90);
SetPlayerSkillWeapon(playerid,2,90);
SetPlayerSkillWeapon(playerid,3,90);
SetPlayerAcrobatic(playerid, 0);
GiveItem(playerid,"ItFo_Apple",3);
GiveItem(playerid,"ItFo_Bacon",5);
GiveItem(playerid,"ItFo_CoragonsBeer",1);
GiveItem(playerid,"ItFo_Bread",1);
GiveItem(playerid,"ItFo_Wine",15);
GiveItem(playerid,"ItRw_Bolt",170);
GiveItem(playerid,"ItFo_Water",3);
GiveItem(playerid,"ItWr_Map_NewWorld",1);
GiveItem(playerid,"ITRU_TELEPORTSEAPORT",1);
EquipArmor(playerid,"ITAR_PAL_M");
EquipMeleeWeapon(playerid,"ItMw_1H_Blessed_02");
EquipRangedWeapon(playerid,"ItRw_Crossbow_H_01");

end

Cod pentru descriere:

Code:
function OnGameModeInit()

    SetServerDescription("descriere");
    SetGamemodeName("nume");

end

Pentru a schimba gamemode-ul uite aici:
Code:
port 28961
hostname GMPA R-9
public 1
rcon_password admin
maxplayers 200
maxbots 1000
maxtimers 1000
maxitems 200
maxsounds 1000
maxdraws 10000
maxtextures 50

stream_distance 3500
stream_rate 1000
position_rate 200
key_rate 70
unsynchronised_items 1

gamemode dorelroleplay
filterscript_1 admin
filterscript_2 npc
filterscript_3
filterscript_4
filterscript_5

Tu vroiaia sa stii unde schimbi viata, la functia clasei, laSetPlayerMaxHealth si SetPlayrHealt, pui in loc de 1250 valoarea pe care o vrei tu.

Nu poti spawna obiecte decat folosind worldbuilder.

La clase x,z,y reprezinta coordonate, care le iei din spacer.

dorelroleplay este modul si ca sa il schimbi doar pui numele celui pe care il vrei, asta bineinteles in server.cfg.

Daca ai nelamuriri doar zi ce. Haha


Show Content
FlowerFlower
replyReply


Messages In This Thread
Ajutor pentru servere de GMP. - by Edd - 09-27-2013, 11:43 PM
RE: Ajutor pentru servere de GMP. - by meph144 - 09-28-2013, 07:58 AM
RE: Ajutor pentru servere de GMP. - by Edd - 09-28-2013, 12:33 PM
RE: Ajutor pentru servere de GMP. - by meph144 - 09-28-2013, 08:24 PM
RE: Ajutor pentru servere de GMP. - by Edd - 09-28-2013, 08:30 PM
RE: Ajutor pentru servere de GMP. - by Edd - 10-14-2013, 02:38 PM
RE: Ajutor pentru servere de GMP. - by Edd - 10-22-2013, 06:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  gothic 3 fsg AJUTOR src0 5 2,795 12-22-2012, 01:08 PM
Last Post: Carnage
  Ajutor: g2 romana gothicar pro 5 2,272 04-22-2012, 10:06 PM
Last Post: Carnage
  Ajutor Mod Gothic 1 arbitrer 98 28,955 03-12-2012, 09:58 PM
Last Post: arbitrer
  Gothic 1 filmul 3GP(pentru telefoane) Carnage 50 22,000 01-07-2012, 09:46 PM
Last Post: Carnage
  ajutor la gothic 1 necromancer 9 3,336 12-18-2011, 11:30 PM
Last Post: Szekemri
  Am nevoie de ajutor BIGGER 1 1,553 06-12-2011, 05:53 PM
Last Post: Carnage
  Actor pentru voce la Gothic 1 RaulTheKing 19 9,001 03-29-2011, 12:26 PM
Last Post: R4zvaNx
  Tutorial 3ds max pentru Gothic Szekemri 7 3,977 03-01-2011, 09:48 AM
Last Post: Carnage
Wink Moduri pentru Gothic 1~ necromancer 12 5,908 07-12-2010, 08:50 PM
Last Post: Szekemri
  Localizare romana pentru G3 + CSP Th13f 13 4,394 06-02-2010, 08:22 PM
Last Post: cloopy

Forum Jump:


Users browsing this thread: 2 Guest(s)