Kako iskljucit???

Započeo [MRP]Gunjac, Septembar 06, 2009, 16:49:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

zanima me kako da iskljucim ono stunt bonus kad se vozi na jednom kolu

matejdz

Ovo dodaj u funkciju public OnGameModeInit()

EnableStuntBonusForPlayer(playerid, 1); // ukljuceno
EnableStuntBonusForPlayer(playerid, 0); // iskljuceno
Poslednja Izmena: Septembar 06, 2009, 17:52:20 POSLE PODNE od [CH]matejdz


ja ubacim i kad idem compile pise mi ovo

E:\My Documents\SmartEx\sb-rp.pwn(6648) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Poslednja Izmena: Septembar 06, 2009, 19:22:44 POSLE PODNE od [SB]Gunjac

matejdz

Gdje si ubacio... Kopiraj 10-ak redaka iznad i 10-ak redaka ispod od mjesta gdje si ubacio to...

//------------------------------------------------------------------------------------------------------
public OnGameModeInit()
{
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
LoadProperty();
LoadBizz();
LoadSBizz();
LoadBoxer();
LoadStuff();
LoadIRC();
LoadFamilies();
LoadCK();
LoadTurfs();
LoadPapers();
IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
IRCInfo[9][iPlayers] = 0;
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
format(string, sizeof(string), "Nista");
strmid(News[hAdd1], string, 0, strlen(string), 255);
strmid(News[hAdd2], string, 0, strlen(string), 255);
strmid(News[hAdd3], string, 0, strlen(string), 255);
strmid(News[hAdd4], string, 0, strlen(string), 255);
strmid(News[hAdd5], string, 0, strlen(string), 255);
format(string1, sizeof(string1), "Nitko");
strmid(News[hContact1], string1, 0, strlen(string1), 255);
strmid(News[hContact2], string1, 0, strlen(string1), 255);
strmid(News[hContact3], string1, 0, strlen(string1), 255);
strmid(News[hContact4], string1, 0, strlen(string1), 255);
strmid(News[hContact5], string1, 0, strlen(string1), 255);
PlayerHaul[78][pCapasity] = 100;
PlayerHaul[79][pCapasity] = 100;
PlayerHaul[80][pCapasity] = 50;
PlayerHaul[81][pCapasity] = 50;
SetGameModeText("SmartEx Balkan RolePlay");
format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
format(motd, sizeof(motd), "Dobrodosli na SmartEx Balkan RolePlay server.");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;
if(!realtime)
{
SetWorldTime(wtime);
}
SetPDistance(10);
EnableTirePopping(1);
        EnableStuntBonusForPlayer(playerid, 0); // iskljuceno
EnableZoneNames(1);
AllowInteriorWeapons(1);
AllowAdminTeleport(1);
UsePlayerPedAnims();
// CreatedCars check
for(new i = 0; i < sizeof(CreatedCars); i++)
{
    CreatedCars[i] = 0;
}

dali je moguce da mu fali include meni je jednom pravio problem :S
Poslednja Izmena: Septembar 06, 2009, 19:53:25 POSLE PODNE od [LG]smail

MrBaff

ma zajebi to,ubaci ovo i ne zali se  :D

CitatEnableStuntBonusForAll(0); //iskljuceno
    EnableStuntBonusForAll(1); //ukljuceno

matejdz

Da, da istina, ja budala zaboravio... Ovo je samo za jednog igraca, to se koristi kod posla Stunter :D

JBG, ovo je dobro dolje...

    EnableStuntBonusForAll(0); //iskljuceno
    EnableStuntBonusForAll(1); //ukljuceno

tnx sad radi.....i jos nesto zna li neko kako se iskljuci ono u donjem kutu di pise na kojoj si lokaciji
Poslednja Izmena: Septembar 12, 2009, 18:25:12 POSLE PODNE od [SB]Gunjac

matejdz

Imas vec EnableZoneNames(1);

Samo 1 zamjeni sa 0