Jump to content

Creare Factiuni Noi - Godfather


Recommended Posts

  • Replies 73
  • Created
  • Last Reply

Top Posters In This Topic

Guest UnderCover
Posted

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.

Guest UnderCover
Posted

LoL , si eu cum sa gasesc "}" ? daca imi zici si mie e bun  :'(

Guest UnderCover
Posted

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

Guest UnderCover
Posted

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 !!!

Posted

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/

Posted

Ai uitat sa pui undeva } ...ia'o din nou cu mai multa atentie  :P

  • 3 weeks later...
Guest catalin94c
Posted

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);

  • 2 weeks later...
Posted

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 ? :|

Posted

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

Posted

la fel ... poti sa imi zici care era spawnul default la Da Nang Boys ? e undeva prin lv, dar nu stiu exact coordonatele :|

  • 3 months later...
Posted

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

Posted

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 !

Posted

Cauta /makeleader si undeva mai jos daca te uiti atent scrie if(level > 11 || level < 0) si u in loc de 11 pui nr de factiuni pe care le ai ...

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Posted

M-am exprimat gresit scuze...eu vreau sa zic ca am facut tot ca in tutorial si nu merge cand dau /makeleader [id] [iD fatiune] si imi zice ca nu exista

Posted

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!

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.