[Pomoc]Oko organizacije

Započeo [CH]Dejan, Jul 18, 2011, 17:39:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:T-City
Detaljan opis problema:Krenio sam da pravim organizaciju Bajkeri i sad uradio sam je skoro cijelu ali,neće da compila nešta nezz zašto jel bi mi mogli reći u čemu je problem evo vam sve što sam radio od organizacije....
Dio skripte:Na početku sam stavio:
new Bajkeri[30];
Definirao sam:#define TEAM_BAJKERI_COLOR 0x88FFFFAA
Stavio sam forward:forward IsABajkeriAuto(carid);

Stavio sam public:public IsABajkeriAuto(carid)
{
for(new i = 0; i < sizeof(Bajkeri); i++)
{
if(carid == Bajkeri[i]) return 1;
}
return 0;
}

Stavio sam spawn i to:if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) //Bajkeri
    {
        SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1041.9407,-1099.3894,23.8537);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
        return 1;
    }

I stavio sam pod OnPlayerStateChange(da ga izbaci ak nije u toj organizaciji):if(IsABajkeriAuto(newcar))
{
    if(PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5) { }
    else {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, COLOR_GREY,"Nemate kljuc auta.");}
}

Stavio sam pod public ShowStats:else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Bajkeri";}
Stavio sam takoÄ'er imena rankova:else if(IsAnBajkeri(targetid))//bajkeri rankovi
{
    if(PlayerInfo[targetid][pRank] == 1) { rtext = "Rider"; }
    else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Free Rider; }
    else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Pro Rider; }
    else if(PlayerInfo[targetid][pRank] == 4) { rtext = "SuperBike Rider; }
    else if(PlayerInfo[targetid][pRank] == 5) { rtext = "MotoGP Rider; }
    else { rtext = "MotoGP Početnik"; }
        }

Stavljao sam vozila po TUT na ovome forumu sam našao:
//------------------------------ Bajkeri ------------------------------
    Bajkeri[0] = AddStaticVehicleEx(576,2826.86767578,-1199.93688965,24.69254684,0.00000000,106,1,15); //Tornado
    Bajkeri[1] = AddStaticVehicleEx(575,2823.26635742,-1188.24731445,24.94513130,270.00000000,106,1,15); //Broadway
    Bajkeri[2] = AddStaticVehicleEx(536,2822.99633789,-1177.75341797,25.08134842,270.00000000,106,1,15); //Blade
    Bajkeri[3] = AddStaticVehicleEx(412,2816.50756836,-1177.79467773,25.21766090,270.00000000,106,1,15); //Voodoo
    Bajkeri[4] = AddStaticVehicleEx(518,2816.88842773,-1188.27465820,25.03102112,272.00000000,106,1,15); //Buccaneer
    Bajkeri[5] = AddStaticVehicleEx(609,2805.58862305,-1182.79089355,25.63813782,271.25000000,106,1,15); //Boxville
    Bajkeri[6] = AddStaticVehicleEx(567,2827.08642578,-1170.66796875,25.06447792,184.00000000,106,1,15); //Savanna
    Bajkeri[7] = AddStaticVehicleEx(463,695.13616943,-473.24841309,15.95293713,89.99993896,-1,-1,15); //Freeway
    Bajkeri[8] = AddStaticVehicleEx(463,695.00183105,-469.84945679,15.95293713,89.99993896,-1,-1,15); //Freeway
    Bajkeri[9] = AddStaticVehicleEx(463,695.06121826,-467.10330200,15.95293713,89.99993896,-1,-1,15); //Freeway
    Bajkeri[10] = AddStaticVehicleEx(463,694.96691895,-463.93792725,15.95293713,89.99450684,-1,-1,15); //Freeway
    Bajkeri[11] = AddStaticVehicleEx(463,694.92407227,-460.93139648,15.95293713,89.99450684,-1,-1,15); //Freeway
    Bajkeri[12] = AddStaticVehicleEx(463,709.14538574,-464.55673218,15.95293713,270.00000000,-1,-1,15); //Freeway
    Bajkeri[13] = AddStaticVehicleEx(463,708.82281494,-458.08801270,15.95293713,266.00000000,-1,-1,15); //Freeway
    Bajkeri[14] = AddStaticVehicleEx(463,708.81079102,-461.32623291,15.95293713,265.99548340,-1,-1,15); //Freeway
    Bajkeri[15] = AddStaticVehicleEx(463,2770.23193359,-1625.86242676,10.54415512,0.00000000,2,1,15); //Freeway
    Bajkeri[16] = AddStaticVehicleEx(463,2772.74609375,-1625.75097656,10.54415512,0.00000000,2,1,15); //Freeway
    Bajkeri[17] = AddStaticVehicleEx(463,2775.50073242,-1625.75866699,10.54415512,0.00000000,2,1,15); //Freeway
    Bajkeri[18] = AddStaticVehicleEx(463,2778.08593750,-1625.69409180,10.53887463,0.00000000,2,1,15); //Freeway
    Bajkeri[19] = AddStaticVehicleEx(463,2780.95922852,-1625.46447754,10.53887463,0.00000000,2,1,15); //Freeway
    Bajkeri[20] = AddStaticVehicleEx(463,2783.22509766,-1625.40270996,10.53887463,0.00000000,2,1,15); //Freeway
    Bajkeri[21] = AddStaticVehicleEx(463,2785.81005859,-1625.60791016,10.53887463,0.00000000,2,1,15); //Freeway
    Bajkeri[22] = AddStaticVehicleEx(463,2787.89746094,-1625.60742188,10.53887463,0.00000000,2,1,15); //Freeway
    Bajkeri[23] = AddStaticVehicleEx(521,2770.25341797,-1602.32775879,10.58225250,0.00000000,2,1,15); //FCR-900
    Bajkeri[24] = AddStaticVehicleEx(521,2773.01782227,-1602.20166016,10.58225250,0.00000000,2,1,15); //FCR-900
    Bajkeri[25] = AddStaticVehicleEx(521,2776.62670898,-1602.18542480,10.58225250,0.00000000,2,1,15); //FCR-900
    Bajkeri[26] = AddStaticVehicleEx(521,2780.19384766,-1601.99072266,10.58225250,0.00000000,2,1,15); //FCR-900
    Bajkeri[27] = AddStaticVehicleEx(468,2767.20996094,-1615.41833496,10.68187523,276.00000000,2,1,15); //Sanchez
    Bajkeri[28] = AddStaticVehicleEx(468,2767.36132812,-1613.71752930,10.68187523,276.00000000,2,1,15); //Sanchez
    Bajkeri[29] = AddStaticVehicleEx(522,2767.25292969,-1606.44763184,10.58225250,270.00000000,2,1,15); //NRG-500

Za komandu /lideri ak bude neko od lidera online da ga pokaže:else if(PlayerInfo[i][pLeader] == 13)
{
    GetPlayerName(i,sendername, sizeof(sendername));
    format(string, 256, "** Bajkeri: %s , Br: %d **", sendername, PlayerInfo[i][pPnumber]);
    SendClientMessage(playerid, COLOR_CYAN, string);
            }

Sada pod komandu /invite sam stavio al nezz brojeve ove upisat:else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] =  ; gTeam[para1] =  ; ftext = "Bajkeri"; ChosenSkin[para1] =   ; SetPlayerSkin(para1,    ); }Ovo za skinevo gTeam nezz brojeve koje treba upisat??
Onda sam stavio pod komandu /family ovako:else if(member 13)// Bajkeri
{
    if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( MotoGP Rider %s: %s )) **", sendername, result); }
    else if(PlayerInfo[playerid][pRank] == 4) { format(string,sizeof(string), "** (( SuperBike Rider %s: %s )) **", sendername, result; }
    else if(PlayerInfo[playerid][pRank] == 3) { format(string,sizeof(string), "** (( Pro Rider %s: %s )) **", sendername, result; }
    else if(PlayerInfo[playerid][pRank] = 2) { format(string,sizeof(string), "** (( Free Rider %s: %s )) **", sendername, result; }
    else if(PlayerInfo[playerid][pRank] == 1) { format(string,sizeof(string), "** (( Rider %s: %s)) **", sendername, result; }
}
if(job==24)
format(string, sizeof(string), "** (( Taxist %s: %s )) **", sendername, result);
SendJobMessage(PlayerInfo[playerid][pJob], 0x7BDDA5AA, string);
    }

I stavio sam Bajker bazu:
//----------------------------------- Bajker baza -----------------------------------
CreateDynamicObject(2693, 2805.94189453, -1189.36596680, 25.11405182, 0.00000000, 0.00000000, 115.99990845);
CreateDynamicObject(4514, 2844.47436523, -1210.16625977, 25.53556061, 0.00000000, 0.00000000, 8.00000000);
CreateDynamicObject(970, 2831.46264648, -1191.37255859, 24.24299049, 0.00000000, 0.00000000, 278.00000000);
CreateDynamicObject(970, 2829.53002930, -1164.13476562, 24.52023125, 0.00000000, 0.00000000, 278.00000000);
CreateDynamicObject(970, 2830.00024414, -1168.31054688, 24.52023125, 0.00000000, 0.00000000, 276.00000000);
CreateDynamicObject(970, 2830.53149414, -1172.49438477, 24.52023125, 0.00000000, 0.00000000, 278.00000000);
CreateDynamicObject(970, 2831.02001953, -1187.36999512, 24.32664680, 0.00000000, 0.00000000, 274.00000000);
CreateDynamicObject(1319, 2807.24438477, -1588.14367676, 10.64062500, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2806.04785156, -1591.08605957, 10.64062500, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2804.75390625, -1594.24645996, 10.64062500, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2803.45068359, -1597.13061523, 10.64062500, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2802.57592773, -1599.32434082, 10.64857674, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2801.42626953, -1602.16674805, 10.63205242, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2800.48217773, -1604.52868652, 10.61768055, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2799.43872070, -1607.11279297, 10.60256004, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2798.37500000, -1609.66662598, 10.58946800, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2797.41088867, -1611.97985840, 10.57764530, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1319, 2796.59912109, -1614.23461914, 10.55882549, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1367, 2796.76269531, -1616.39721680, 10.56682491, 0.00000000, 0.00000000, 266.00000000);
CreateDynamicObject(1215, 2790.49267578, -1600.66076660, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2788.41528320, -1600.71777344, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2786.25805664, -1600.77990723, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2783.81933594, -1600.86120605, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2781.59570312, -1600.88122559, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2767.76635742, -1618.88134766, 10.49147892, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2767.76635742, -1620.51489258, 10.49147892, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2767.90917969, -1622.57678223, 10.49147892, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2767.76635742, -1624.65002441, 10.49147987, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2767.76635742, -1626.92773438, 10.49147892, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2795.69946289, -1621.50463867, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2795.30249023, -1623.44970703, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2794.67211914, -1625.68273926, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2793.68041992, -1627.45361328, 10.48619843, 0.00000000, 0.00000000, 0.00000000);
CreateDynamicObject(1215, 2791.55712891, -1627.43811035, 10.48619843, 0.00000000, 0.00000000, 0.00000000);

Neke slike/video za lakse dobivanje pomoci(neobavezno):Nema

probaj ovo izmjeniti
Kod (System32) [Izaberi]
if(IsABajkeriAuto(newcar))
{
    if(PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5) { }
    else {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, COLOR_GREY,"Nemate kljuc auta.");}
}

u
Kod (System32) [Izaberi]
if(IsABajkeriAuto(newcar))
{
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, COLOR_GREY,"Nemate kljuc auta.");}
}

Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Nemože,sad sam stavio ali nemože nikako opet isto problem.....

EDIT:A ovaj red jel zna neko koje brojeve treba upisat jel to za skinove ili Å¡ta??
else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] =  ; gTeam[para1] =  ; ftext = "Bajkeri"; ChosenSkin[para1] =   ; SetPlayerSkin(para1,
Poslednja Izmena: Jul 18, 2011, 18:10:07 POSLE PODNE od [CH]Dejan

A sta tacno bude kad Compilas? Izbaci dont send ili neke errore?

Ma ono Dont Send i Debug nemore da compila uopće.. :'( :'(

dragan12

Citat: [CH]Dejan poslato Jul 18, 2011, 18:04:04 POSLE PODNE
Nemože,sad sam stavio ali nemože nikako opet isto problem.....

EDIT:A ovaj red jel zna neko koje brojeve treba upisat jel to za skinove ili Å¡ta??
else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] =  ; gTeam[para1] =  ; ftext = "Bajkeri"; ChosenSkin[para1] =   ; SetPlayerSkin(para1,
To je za ispisivanje organizacije imena. Da onome koga invite da ga ubaci u bajkere. A i za skin ujedno.
Ali zasto ti stoji prazno ovde
else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] =  Dodas za tim ; gTeam[para1] =  Dodas za tim; ftext = "Bajkeri"; ChosenSkin[para1] =  ID skina ovde ; SetPlayerSkin(para1, ovde id ID skina); }
Fali ti tu ID skina mozda je do toga. I fali za tim.
A za to sto ti izbaci Dont Send negde imas viska } najverovatnije je to proveri to.

Pa da ali otkud da znam ja sada koji broj treba ići za Team a ovo za skin koji treba od lidera ili koji skin i gdje se stavlja da kad nekom daÅ¡ rank skin promijeni ono znači ima 5 rankova i svaki rank svoj skin gdje da stavim to u skriptu poÅ¡to to nisam stavio i kad to stavim onda bih trebao joÅ¡ chat staviti,pickupove,3D text i HQ stavit,Kako da napravim 3D text da piÅ¡e stisnite ENTER da uÄ'ete u HQ Bajkera...Nego ak bi ja htio da to bude banda ovako i da ona ilegalne organizira trke te neke od koje se dobijaju pare??

EDIT:Lider će biti skin 248..
Poslednja Izmena: Jul 18, 2011, 18:34:57 POSLE PODNE od [CH]Dejan