[POMOC] Posao

Započeo JONY, Avgust 17, 2011, 13:33:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Skripta koju koristim:Balkan stories
Detaljan opis problema:houce ubacit novi posao.kako cu nastimat kad dodem sa playerom na neko mjesto gdje odredim i kucam /posao da dobije posao.kako cu uopce dodati novi posao i vozila od tog posla.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Vratio sam se ponovo ocekjute novi server...

evo ti ovdje tut kako napraviti posao http://balkan-samp.com/forum/index.php?topic=1246.0

Ali ovo ostalo moras sam, za /posao ides u GM i ctrl+f i napises /posao ili :posao zavisi sta koristis i onda tamo promjenis koordinate .... tesko malo za objasnit... najbolje radi po tom tutu od djura i napravi novi posao od nule :-\



www.ekvador-samp.in.rs

Trazim pomocnog skriptera i mappere !!! sve na Ekvador forumu ;)

BIGG RESPECT: System32 â–º jednostavno car, nema mu ravnog, rado pomaze, sve zna.... jednostavno car, nekuzim kako je tako pametan, ali drago mi je da je i da mi pomaze, HVALA ! ;)

Citat: Gospodin poslato Avgust 30, 2011, 12:24:24 POSLE PODNE
Nema veze sto ima hiljadu takvih stvari bitno je da se ljudi trude !!!
Točnoooooo, razmislite malo o ovome ;)

Skontao sam ovaj tut al kak cu napravit da se player zaposli kako kosac trave ili neki drugi da dode na neko mjesto gdje je postavim koordinate i da se on zaposli ako ko zna kad kuca /posao jer mi je ta komanda!!!

    if(strcmp(cmd, "/posao", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerToPoint(5.0,playerid,x,y,z))//ovdje zamjenite kordinate xyz koje ste malo prije spremili
        {
        if(PlayerInfo[playerid][pLevel] < 2)//lvl stavis koji god oces
            {
            SendClientMessage(playerid, COLOR_GREY, "  Morate biti minimalno lv2+ za ovaj posao !");
            return 1;
            }
            if(PlayerInfo[playerid][pJob] == 0) //ovo sluzi za provjeru ako igrac nema posao da moze uzeti ovaj
            {
                PlayerInfo[playerid][pJob] = idposla;//ovo sluzi za postavljanje posla(stavis koji ti je kosac id)
GetPlayerName(playerid, sendername, sizeof(sendername));
SendClientMessage(playerid, COLOR_YELLOW, " Postao si kosac trave, sada kosis parkove!");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " *Komanda: /kosi ");
            }
            else
        {
            SendClientMessage(playerid, COLOR_GREY, "  Vec ste zaposleni, prvo daj otkaz(/otkaz) pa se vratite nazad !");
            return 1;
            }
        }
    }
    return 1;
}


user32 i ja sam mu dao taj tut
Vratio sam se ponovo ocekjute novi server...

da ne otvaram novu temu kako cu rijesit eror

C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(13) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

nece da rijesi ovaj eror nikako

Citat: JONY poslato Avgust 17, 2011, 15:41:11 POSLE PODNE
da ne otvaram novu temu kako cu rijesit eror

C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(13) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

nece da rijesi ovaj eror nikako
ili nemas taj inc.
ako imas onda otvori opetpreko pawna od tog GM..

ewo nestao mi onaj eror sad se pojavilo 26 erora

C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1766) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1795) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1831) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1832) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1859) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2274) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2299) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2316) : error 004: function "IsACopCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2325) : error 004: function "IsNgCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2343) : error 004: function "IsAnAmbulance" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2346) : error 004: function "SetPlayerCriminal" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2348) : error 004: function "IsATank" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2351) : error 004: function "SetPlayerCriminal" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2353) : error 004: function "IsAnOwnableCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2368) : error 017: undefined symbol "TPC"
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2369) : error 017: undefined symbol "TPC"
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2375) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2378) : error 029: invalid expression, assumed zero
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2378) : error 004: function "IsAnInstructor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2386) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2390) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2393) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : warning 225: unreachable code
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : error 029: invalid expression, assumed zero
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : error 004: function "IsAMember" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2404) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2408) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

neznam sad sta bi moglo biti

Citat: JONY poslato Avgust 17, 2011, 18:28:32 POSLE PODNE
ewo nestao mi onaj eror sad se pojavilo 26 erora

C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1766) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1795) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1831) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1832) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(1859) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2274) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2299) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2316) : error 004: function "IsACopCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2325) : error 004: function "IsNgCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2343) : error 004: function "IsAnAmbulance" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2346) : error 004: function "SetPlayerCriminal" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2348) : error 004: function "IsATank" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2351) : error 004: function "SetPlayerCriminal" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2353) : error 004: function "IsAnOwnableCar" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2368) : error 017: undefined symbol "TPC"
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2369) : error 017: undefined symbol "TPC"
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2375) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2378) : error 029: invalid expression, assumed zero
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2378) : error 004: function "IsAnInstructor" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2386) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2390) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2393) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : warning 225: unreachable code
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : error 029: invalid expression, assumed zero
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2396) : error 004: function "IsAMember" is not implemented
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2404) : error 079: inconsistent return types (array & non-array)
C:\Users\ADMINI~1\Desktop\BALKAN~1\GAMEMO~1\BALKAN~1.PWN(2408) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

neznam sad sta bi moglo biti

negdje ti zagrada fali
bolje objasnjeno nesto si radio pa imas vise otvorenih { zagrada nego zatvorenih
Vratio sam se ponovo ocekjute novi server...

gledao sam sve zagrade ne fali ak ima jos neko da zna sta bi moglo biti

dragan12

Citat: JONY poslato Avgust 17, 2011, 19:21:58 POSLE PODNE
gledao sam sve zagrade ne fali ak ima jos neko da zna sta bi moglo biti
Svi ce ti reci da su upitanju zagrade (sto i jesu). Prebroj { i } zagrade to zadnje sto si radio broj mora da bude isti.

Citat: JONY poslato Avgust 17, 2011, 19:21:58 POSLE PODNE
gledao sam sve zagrade ne fali ak ima jos neko da zna sta bi moglo biti
mozda si nesto drugo dodavo proba izbacit tu komandu pa pogle jel baca erore
Vratio sam se ponovo ocekjute novi server...