Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2012-05-15, 22:36


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

puma1868, ?mieszne.

OnGameModeInit zmie? na to:

public OnGameModeInit()
{
CreateDynamicObject(3095, 1768, 865.9599609375, 9.3000001907349, 0, 0, 0);
CreateDynamicObject(3095, 1759.0999755859, 866, 9.3000001907349, 0, 0, 0);
CreateDynamicObject(3095, 1759.0999755859, 870, 9.8999996185303, 90, 180, 0);
CreateDynamicObject(3095, 1754.9000244141, 866.09997558594, 9.8999996185303, 90, 270, 0);
CreateDynamicObject(3095, 1768, 870, 9.8999996185303, 90, 179.99450683594, 0);
CreateDynamicObject(3095, 1772, 866.09997558594, 9.8999996185303, 90, 90, 0);
CreateDynamicObject(3095, 1759, 866.09997558594, 13.999999046326, 0, 0, 0);
CreateDynamicObject(3095, 1768, 866.099609375, 14, 0, 0, 0);
CreateDynamicObject(1499, 1772.0999755859, 861.5, 9.7999992370605, 0, 0, 180);
CreateDynamicObject(1499, 1769.099609375, 861.5, 9.8000001907349, 0, 0, 0);
CreateDynamicObject(3095, 1758.9000244141, 861.99975585938, 7.1999998092651, 90, 0, 0);
CreateDynamicObject(9192, 1776.8000488281, 860.29998779297, 14.60000038147, 0, 0, 180);
CreateDynamicObject(1649, 1757.099609375, 861.69921875, 12.400000572205, 0, 0, 0);
CreateDynamicObject(1649, 1757.2000732422, 861.90002441406, 12.5, 0, 0, 180);
CreateDynamicObject(1649, 1761.3000488281, 861.69995117188, 12.39999961853, 0, 0, 0);
CreateDynamicObject(1649, 1761.1999511719, 861.79998779297, 12.89999961853, 0, 0, 179.99450683594);
CreateDynamicObject(1649, 1765.6999511719, 861.70001220703, 12.900000572205, 0, 0, 0);
CreateDynamicObject(1649, 1765.5999755859, 861.5, 9.7000007629395, 0, 0, 0);
CreateDynamicObject(1649, 1765.4000244141, 861.70001220703, 12.89999961853, 0, 0, 179.99450683594);
CreateDynamicObject(1649, 1765.4000244141, 861.70001220703, 9.6000003814697, 0, 0, 179.99450683594);
CreateDynamicObject(3533, 1772.9000244141, 861.90002441406, 9.5999994277954, 0, 0, 0);
CreateDynamicObject(3533, 1768.3994140625, 861.8994140625, 9.5999994277954, 0, 0, 0);
CreateDynamicObject(1622, 1754.3000488281, 861.70001220703, 13.800000190735, 0, 0, 0);
CreateDynamicObject(1844, 1770.3000488281, 869.40002441406, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(1984, 1758.099609375, 864.599609375, 9.8999996185303, 0, 0, 270);
CreateDynamicObject(1988, 1762.5, 869.5, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(2422, 1758, 864.8994140625, 10.800000190735, 0, 0, 90);
CreateDynamicObject(2541, 1766.4000244141, 869.5, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(2543, 1768, 869.5, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(2579, 1764.4000244141, 869.90002441406, 10.89999961853, 0, 0, 0);
CreateDynamicObject(1775, 1760.5, 870, 11, 0, 0, 0);
CreateDynamicObject(1984, 1758, 869.5, 9.8999996185303, 0, 0, 270);
CreateDynamicObject(2422, 1757.9000244141, 869.79998779297, 10.800000190735, 0, 0, 90);
CreateDynamicObject(2582, 1771.5, 866.70001220703, 10.699999809265, 0, 0, 270);
CreateDynamicObject(2579, 1771.8000488281, 865.09997558594, 10.89999961853, 0, 0, 270);
CreateDynamicObject(1432, 1761.5, 863.79998779297, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(1432, 1764.8000488281, 863.20001220703, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(1432, 1763.599609375, 866.5, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(1649, 1770.5, 861.59997558594, 14, 0, 0, 0);
CreateDynamicObject(1649, 1770.0999755859, 861.59997558594, 13.89999961853, 0, 0, 180);
CreateDynamicObject(1337, 1781.77734375, 939.98046875, 21.829210281372, 0, 0, 0);
CreateDynamicObject(2599, 1768.4000244141, 860.59997558594, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(9527, 1770.8000488281, 861.59997558594, 15.60000038147, 0, 0, 0);
CreateDynamicObject(1452, 1753.5999755859, 869.70001220703, 10.39999961853, 0, 0, 0);
CreateDynamicObject(2595, 1760.4000244141, 869.59997558594, 12.5, 0, 0, 0);
CreateDynamicObject(2738, 1753.6999511719, 869.90002441406, 10, 0, 0, 0);
CreateDynamicObject(2816, 1761.4000244141, 863.70001220703, 10.5, 0, 0, 0);
CreateDynamicObject(2813, 1764.6999511719, 863.40002441406, 10.5, 0, 0, 0);
CreateDynamicObject(2829, 1763.5999755859, 866.40002441406, 10.5, 0, 0, 0);
CreateDynamicObject(2841, 1759.5, 865.79998779297, 9.8999996185303, 0, 0, 0);
CreateDynamicObject(792, 1752.4000244141, 863.40002441406, 9, 0, 0, 0);
CreateDynamicObject(792, 1777.0999755859, 867.20001220703, 9.6999998092651, 0, 0, 0);
CreateDynamicObject(1558, 1772, 870.90002441406, 10.300000190735, 0, 0, 0);
CreateDynamicObject(1558, 1770.9000244141, 871.09997558594, 10.39999961853, 0, 0, 0);
CreateDynamicObject(1558, 1769.6999511719, 871.59997558594, 10.39999961853, 0, 0, 0);
CreateDynamicObject(1558, 1771.8000488281, 871.09997558594, 11.300000190735, 0, 0, 0);
CreateDynamicObject(1558, 1770.1999511719, 871.20001220703, 11.39999961853, 0, 0, 0);
CreateDynamicObject(1558, 1771.3000488281, 871.09997558594, 12.300000190735, 0, 0, 0);
CreateDynamicObject(1328, 1766.8000488281, 871.40002441406, 10.300000190735, 0, 0, 0);
CreateDynamicObject(3399, 1761.1999511719, 871.59997558594, 12.199999809265, 0, 0, 0);
CreateDynamicObject(2465, 1762.5, 869, 11.89999961853, 0, 0, 0);
CreateDynamicObject(3715, 1797.8000488281, 823.59997558594, 18.799999237061, 0, 0, 0);
CreateDynamicObject(628, 1755.5999755859, 862.40002441406, 16.5, 0, 0, 0);
CreateDynamicObject(628, 1759, 862.20001220703, 16.5, 0, 0, 0);
CreateDynamicObject(628, 1762.0999755859, 862.29998779297, 16.5, 0, 0, 0);
CreateDynamicObject(628, 1765.8000488281, 862.29998779297, 16.5, 0, 0, 0);
ManualVehicleEngineAndLights();
}

[ Dodano: 2012-05-15, 22:36 ]
Zamiast tamtego to usu? ca?e, od OnGamemodeInit do klamry - } i wklej to co ci wyzej podalem.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-05-16, 14:34


puma1868







Wiek: 31
Na forum: 5473 dni
Posty: 4
Nick w MP: [PPS]Edysia

Piwa: 565

Respekt: 14,6

Ostrzeżeń: 100%
Oldschool, Smieszne ? jakos tak na zamowienie robilem i dzialalo ;)

Kod:

Zamiast tamtego to usu? ca?e, od OnGamemodeInit do klamry - } i wklej to co ci wyzej podalem.

chyba zle :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-05-16, 14:55


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Puma, ale zobacz tutaj jest b??d:

Kod:


public OnGameModeInit()
{CreateDynamicObject(3095, 1768, 865.9599609375, 9.3000001907349, 0, 0, 0); //Klamra gdzie jest :>


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-05-16, 15:07


pawcioodb10

Nowy xD






Wiek: 27
Na forum: 5144 dni
Posty: 51
Nick w MP: Pawcioxe

Piwa: 76

Respekt: 44,8

Ostrzeżeń: 40%
O to chodzi?o??

Kod:

#define STREAMER_ADD CreateDynamicObject
//includy
#include <a_samp>
#include <dudb>
#include <streamer>
#include <dini>
#define Loop(%1) for(new %1 = 0, ff = GetMaxPlayers(); %1 < ff; %1++)
#define OFF 0
#define ON 1
#define SLOT 1









Ale jak wciskam F5 to patrz :/


Kod:

C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(609) : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(618) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(629) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(637) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(646) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(656) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(659) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(663) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(665) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(668) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(670) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(672) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(674) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(682) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(695) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(698) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(699) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(700) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(703) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(704) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(705) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(708) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(709) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(710) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(713) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(714) : error 010: invalid function or declaration

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


26 Errors.


[ Dodano: 2012-05-16, 15:11 ]
OldSchol mog? wiedzie? w jakiej linijce jest ten b??d ??

[ Dodano: 2012-05-16, 15:15 ]
Kurde nie zabardzo mi to wychodzi wklei?em to co mi poda?e? ale nadal s? errory?? o co biega ;/

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-05-16, 19:19


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Rany boskie, jeste? taki ciemny, czy tylko udajesz. Podmie? OnGameModeInit, na ten kt?ry da?em wy?ej.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-05-16, 20:25


pawcioodb10

Nowy xD






Wiek: 27
Na forum: 5144 dni
Posty: 51
Nick w MP: Pawcioxe

Piwa: 76

Respekt: 44,8

Ostrzeżeń: 40%
Okej podmnieni?em ale co? nie gra z tym :
Kod:

C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(610) : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(618) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(629) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(637) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(646) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(656) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(659) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(663) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(665) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(668) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(670) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(672) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(674) : error 021: symbol already defined: "SetTimer"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(682) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(695) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(698) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(699) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(700) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(703) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(704) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(705) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(708) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(709) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(710) : error 021: symbol already defined: "dini_Create"
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(713) : error 010: invalid function or declaration
C:\Users\Paulina\Desktop\pawel to twoje!\MapkaPTR.pwn(714) : error 010: invalid function or declaration

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


26 Errors.





Kod:

ManualVehicleEngineAndLights();
}
//------------------------------------------------------------------------





for(new h = 0; h < GetMaxPlayers(); h++)
{
naczepa[h] = Text:TextDrawCreate(313.0, 430.0, " ");
TextDrawLetterSize(naczepa[h], 0.4, 1.2);
TextDrawColor(naczepa[h], 0xffffffff);
TextDrawFont(naczepa[h],1);
TextDrawSetOutline(naczepa[h],1);
TextDrawSetShadow(naczepa[h], 1);
TextDrawAlignment(naczepa[h],3);
}

TruckSerwer= TextDrawCreate(640.0, 0.2, "~y~Nasze forum www.polish-truck-serwer.czo.pl<<"); // tworzy sam TD
TextDrawFont(TruckSerwer, 2); //Ustawia czcionk? TD
TextDrawSetOutline(TruckSerwer, 1); //Ustawia nam obramowanie TD
TextDrawColor(TruckSerwer, COLOR_LIGHTGREEN); //Ustawia kolor TD
TextDrawAlignment(TruckSerwer,3);
TextDrawLetterSize(TruckSerwer,0.399999,1.300000);


ActualTime = TextDrawCreate(548.0, 24.0, "00:00");
TextDrawColor(ActualTime, COLOR_LIGHTRED);
TextDrawFont(ActualTime, 3);
TextDrawLetterSize(ActualTime, 0.4, 1.2);
TextDrawSetShadow(ActualTime, 0);
TextDrawSetOutline(ActualTime, 1);
TextDrawUseBox(ActualTime, 1);
TextDrawBoxColor(ActualTime,0x00000044);

Loop(p){
SpeedXqz[p] = Text:TextDrawCreate(320 ,370, "~h~Inicjalizacja..");
TextDrawAlignment(SpeedXqz[p],2);
TextDrawUseBox(SpeedXqz[p], 1);
TextDrawBoxColor(SpeedXqz[p],0x00000044);}





SetTimer("TimeUpdate", 1000, 1);
SetTimer("gCheckpointUpdate", 1000, 1);

SetTimer("zegarek", 100, true);
SetTimer("admincheck", 1000, true);


SetTimer("WypadekAuta", 500, 1);

SetTimer("Wypadki", 500, 1);
SetTimer("NaStacji", 500, true);

SetTimer("UstalCPtowaru", 1000, 1);

SetTimer("sexxx", 1000, true);

SetTimer("ZmienPogode", 3600*100000, 1);

SetTimer("odpojazdu", 500, true);
SetTimer("AUTOSAVE", 60000,true);
SetTimer("OdejmnijPaliwo", MinusGas, 1);
SetTimer("reklama",200000,true);




for(new g=0;g<200;g++){
pojazd[g] = TextDrawCreate(625.0000,390.0000," ");
TextDrawAlignment(pojazd[g],3);
TextDrawBackgroundColor(pojazd[g],0x000000ff);
TextDrawFont(pojazd[g],1);
TextDrawLetterSize(pojazd[g],0.299999,1.200000);
TextDrawColor(pojazd[g],0xffffffff);
TextDrawSetOutline(pojazd[g],1);
TextDrawSetProportional(pojazd[g],1);
TextDrawSetShadow(pojazd[g],1);
}


for(new c=0;c<ILOSC_AUT;c++){
Gas[c] = GasZwykly; }

if(dini_Exists(POLICJA)){
}else{
dini_Create(POLICJA);
}

if(dini_Exists(TT)){
}else{
dini_Create(TT);
}

if(dini_Exists(GD)){
}else{
dini_Create(GD);
}


Pisze ?e tu s? errory , to co kaza?e? to zrobi?em

[ Dodano: 2012-05-17, 15:18 ]
Je?eli chcecie to ja wam wstawie mapke i pobierzecie i mi dodacie Prosze!
:arrow: :piwo:

Podpis
GG:37817603 //Pawcioxe
Postaw piwo autorowi tego posta
 

 
Tagi: proszę :: wytłumaczanie :: jak :: zrobić :: nie :: wychodzi
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » [INNE] Proszę o wytłumaczanie mi jak to zrobić bo mi nie wy Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku