Jump to content

Creare Factiuni Noi - Godfather


Guest Shurubel

Recommended Posts

  • Replies 73
  • Created
  • Last Reply

Top Posters In This Topic

Guest UnderCover

Am rezolvat problema aia ...dar dupa ce am facut un HQ uitati ce imi da la pawn :|  ???  , am sters HQ si tot asa imi da ..

Image: 43733026.png

Sunt pe modul Invader Roleplay  :P.

Link to comment
Share on other sites

Guest UnderCover

deci ulta factiune care vroiam sa-i fac HQ a fost The Triad`s si cand am dat compile mi-a dat aceasta eroare ... apoi i-am sters HQ si tot asta apare !

daca poti sa-mi dai un id de mass pe private iti dau gm daca vrei sa vezi ca nu are ce sa ...

Link to comment
Share on other sites

Guest UnderCover

Scuze pentru dublu post dar am rezolvat problema cand am pus The Triads am selectat ceva in plus si sa sters iar "{" sau "}" nu se mai potriveau cum a zis si monster. Multumesc Mult !!!

Link to comment
Share on other sites

nu am inteles primu pas...unde pun new?

Proiecte:

Hospital Interior-0%(neinceput)

Limo Interior-0%(inceput)

Bank Interior-0%(neinceput)

Bus Interior-0%(inceput)

Plane Interior-0%(neinceput)

Train Interior-0%(neinceput)

Boat Interior-95%(terminat,mici retusuri)

Mini-Scripturi care au fost publicate:

GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/

Link to comment
Share on other sites

  • 3 weeks later...
Guest catalin94c

In legatura cu punctul 4,daca vreau sa mai adaug o factiune cum va arata asta:

//SetSpawnInfo(playerid, team, model,0.0,0.0,0.0,0,0,0,0,0,0,0);

SpawnPlayer(playerid);

}

}

if(PlayerInfo[playerid][pChar] > 0) { SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]); }

else { SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]); }

SetPlayerWeapons(playerid);

SetPlayerSpawn(playerid);

SetPlayerToTeamColor(playerid);

PlayerFixRadio(playerid);

for(new i = 0; i < sizeof(Turfs); i++)

{

    GangZoneShowForPlayer(playerid, grove, 16711888);

    }

if(MapIconsShown[playerid] != 1)

{

    MapIconsShown[playerid] = 1;

    for(new i = 0; i < sizeof(BizzInfo); i++)

{

SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED);

}

for(new i = 0; i < sizeof(SBizzInfo); i++)

{

    SetPlayerMapIcon(playerid,i + 20,SBizzInfo[sbEntranceX],SBizzInfo[sbEntranceY],SBizzInfo[sbEntranceZ],36,COLOR_LIGHTRED);

}

}

return 1;

}

Dupa ce vreau sa ii adaug si
GangZoneShowForPlayer(playerid, Ballas, -2147418167);

Link to comment
Share on other sites

  • 2 weeks later...

am facut tot, merge dar cand ma spawneaza, uneori ma spawneaza pe aeroport SF in aer sau la o ferma, in aer :)) am dat save ..

coordonate: 342.1285,36.9979,238.4359 este prin SF .. asta mi sa intamplat si la LCN .. pana am pus spawn ala de pe godfather original :| atunci a mers .. care e problema ? :|

Link to comment
Share on other sites

if (PlayerInfo[playerid][pMember] == 5|| PlayerInfo[playerid][pLeader] == 5)//LCN

{

SetPlayerToTeamColor(playerid);

SetPlayerInterior(playerid, 0);//sau id interiorule daca vrei sa ii spawneze in interior

SetPlayerPos(playerid, aici pui coordonatele tale);

PlayerInfo[playerid][pInt] = 0;

return 1;

}

Daca nici asa nu merge sincer nu stiu ...

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

  • 3 months later...

am si eu o intrebare .. unde adaug culoarea factiunii ?

Cauti :

if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, 0x0066FFAA); } //COP

      if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid, 0x0066FFAA); } //Cop

PS:  IN loc de 1 pui nr factiunii tale si in loc de asta " 0x0066FFAA " pui culoarea dorita de tn :)

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

da ms.. am gasito dupa ce am postat din gresala :))) si inca ceva daca se poate. la case si la bizz-uri imi apare tot impreuna eX:

This house is owner by:sadsa entrance

fee:100 level: 20 type /enter to enter .. cam asa ceva, asa e si la bizz-uri . cam incurcat :) si eu as dori asa

  This House is Owned

    By: ksadjsakdksa

    Rent:sdas

    Level:10

    type /rent to reentroom

scuze dak nu am pus chiar correct dar as dori putin ajutor.. am umblat si in gm . si am pus spatii mari si am incercat tot felul sa imi scrie asa dar nu stiu cum !

Link to comment
Share on other sites

dc imi da erorile?

F:\GFSERV~1\GAMEMO~1\gf3.pwn(27610) : error 032: array index out of bounds (variable "JoinPed")
F:\GFSERV~1\GAMEMO~1\gf3.pwn(27610) : error 032: array index out of bounds (variable "JoinPed")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Uitati linile
				
case 12: //Grove Street
{
if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[52][0]; }
else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[53][0]; }
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[54][0]; }
else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[55][0]; }
else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[56][0]; }
}
Uitati si JoinPed
new JoinPed[56][1] = {
{280},//POLICE_FORCE
{281},
{282},
{283},
{284},
{285},
{288},
{71},
{166},
{295},
{148},
{286},//FBI/ATF
{164},
{163},
{287},//NATIONAL_GUARD
{285},
{70},//FIRE/AMBULANCE
{274},
{275},
{276},
{277},
{278},
{279},
{258},//LA_COSA_NOSTRA
{127},
{126},
{125},
{124},
{113},
{111},
{98},
{120},//YAKUZA
{121},
{122},
{123},
{169},
{186},
{228},
{127},//HITMANS
{165},
{186},
{93},
{141},
{148},//NEWS_REPORTERS
{188},
{187},
{255},//TAXI_CAB_COMPANY
{253},
{59},//DRIVING/FLYING_SCHOOL
{60},//DRIVING/FLYING_SCHOOL
{76},//DRIVING/FLYING_SCHOOL
{150},//DRIVING/FLYING_SCHOOL
{105},//grove
{106},
{107},
{0}
};

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Dai copy paste si o sa iti mearga.

new JoinPed[][1] = {
{280},//POLICE_FORCE
{281},
{282},
{283},
{284},
{285},
{288},
{71},
{166},
{295},
{148},
{286},//FBI/ATF
{164},
{163},
{287},//NATIONAL_GUARD
{285},
{70},//FIRE/AMBULANCE
{274},
{275},
{276},
{277},
{278},
{279},
{258},//LA_COSA_NOSTRA
{127},
{126},
{125},
{124},
{113},
{111},
{98},
{120},//YAKUZA
{121},
{122},
{123},
{169},
{186},
{228},
{127},//HITMANS
{165},
{186},
{93},
{141},
{148},//NEWS_REPORTERS
{188},
{187},
{255},//TAXI_CAB_COMPANY
{253},
{59},//DRIVING/FLYING_SCHOOL
{60},//DRIVING/FLYING_SCHOOL
{76},//DRIVING/FLYING_SCHOOL
{150},//DRIVING/FLYING_SCHOOL
{105},//grove
{106},
{107},
{0}
};

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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