[pomoc]PAWN

Započeo pr0, Avgust 30, 2013, 09:26:31 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

pr0

*

Skripta koju koristim:pawn
Detaljan opis problema:Pa uzmem kodove Izmappane baze i odem na Convert FFS,to isto napravim odem u pawn i ubacim pod OnGameModeInit ..I pojave mi se tri errora..udjem na kucni server i vidim nema nicega :S ?Mozete mi dati neki video kako to?Hvala
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Poslednja Izmena: Avgust 30, 2013, 09:28:42 PRE PODNE od pr0
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM


pr0

*

To sam i napravio i onda sam ubacio i nece :S pise neka tri ,zna i 4 errora pisat....Daj pomozite,napravite nneki video ako vam
nije tesko!Hvala

evo sta pise:

C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(39) : warning 225: unreachable code
C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(40) : warning 217: loose indentation
C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(78) : warning 209: function "OnGameModeInit" should return a value
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.
Poslednja Izmena: Avgust 30, 2013, 11:41:18 PRE PODNE od pr0
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM


pr0

*

C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(39) : warning 225: unreachable code
C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(40) : warning 217: loose indentation
C:\Users\Marko\Desktop\server\gamemodes\kuca.pwn(78) : warning 209: function "OnGameModeInit" should return a value
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM


pr0

*

public OnGameModeInit()
{
   // Don't use these lines if it's a filterscript
   SetGameModeText("Blank Script");
   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   return 1;
}
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM

pa gde si ti stavio objekte ? morsa ih pod ongamemodeinit

pr0

*

Pa stavio sam CreateDynamicObject ...to stavim pod OnGameModeInit....i neceeeeeeeeeeeeeeeeeeeeee :S de video snimi kako to radis pls pa postaj ovde ako ti nije problem
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM

ovde pod ongamemodeinit nemas nista od toga, cudno skriptas

pr0

*

omfg gledaj :

public OnGameModeInit()
{
   // Don't use these lines if it's a filterscript
   SetGameModeText("Blank Script");
   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   return 1;
CreateObject(4010, 1350.7578125, -1802.28125, 12.6953125, 0, 0, 0);
CreateObject(3749, 1347.1999511719, -1742.1999511719, 18.200000762939, 0, 0, 0);
CreateObject(8673, 1364.1999511719, -1742.3000488281, 14, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 14, 0, 0, 354);
CreateObject(8674, 1336.3000488281, -1742.3000488281, 14, 0, 270, 359.99987792969);
CreateObject(980, 1347.1999511719, -1740.1999511719, 15.199999809265, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 16.89999961853, 0, 0, 353.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 14, 0, 0, 269.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 16.89999961853, 0, 0, 269.99450683594);
CreateObject(985, 1379.0999755859, -1770.8000488281, 12.5, 0, 0, 90);
CreateObject(8673, 1379.0999755859, -1771.1999511719, 19.299999237061, 0, 0, 270);
CreateObject(4100, 992.29998779297, -648.29998779297, 125.59999847412, 0, 2, 342);
CreateObject(4100, 985.90002441406, -650.79998779297, 125.80000305176, 0, 1.99951171875, 341.99890136719);
CreateObject(4100, 973.59997558594, -656.70001220703, 126.30000305176, 0, 1.99951171875, 349.99890136719);
CreateObject(4100, 962, -663.79998779297, 126.59999847412, 0, 1.99951171875, 351.99694824219);
CreateObject(4100, 950.09997558594, -678.79998779297, 127, 0, 1.99951171875, 79.996459960938);
CreateObject(4100, 952.7998046875, -669.5, 126.80000305176, 0, 1.99951171875, 351.99645996094);
CreateObject(4100, 956.90002441406, -690.5, 127, 0, 359.99951171875, 79.991455078125);
CreateObject(4100, 974.29998779297, -711.5, 126.90000152588, 0, 359.99450683594, 167.99145507813);
CreateObject(4100, 963.099609375, -702.69921875, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 965.599609375, -708.099609375, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 1023.299987793, -672.90002441406, 125.80000305176, 0, 359.98901367188, 199.98645019531);
CreateObject(4100, 986.099609375, -704.8994140625, 126.69999694824, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 997.8994140625, -698.099609375, 126.59999847412, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 1006.7998046875, -693.099609375, 126.5, 0, 359.98352050781, 167.98095703125);
CreateObject(4100, 1016.5, -684.19921875, 126.19999694824, 0, 359.98352050781, 197.98461914063);
CreateObject(4100, 1023, -661.70001220703, 125.40000152588, 0, 359.98352050781, 265.98413085938);
CreateObject(4100, 1015, -650.70001220703, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(4100, 1013, -647.90002441406, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(985, 1003.299987793, -643.59997558594, 120.5, 0, 0, 24);
CreateObject(3525, 999, -644.90002441406, 124.5, 0, 0, 205.99996948242);
CreateObject(3525, 1007.299987793, -641.29998779297, 124.40000152588, 0, 2, 202);
CreateObject(3528, 980.90002441406, -677.40002441406, 128.69999694824, 0, 0, 120);
CreateObject(1231, 969.40002441406, -708.40002441406, 124.5, 0, 0, 306);
CreateObject(1231, 952, -676.40002441406, 124.09999847412, 0, 0, 305.99670410156);
CreateObject(1231, 1015.700012207, -657.40002441406, 122.90000152588, 0, 0, 305.99670410156);
CreateObject(1231, 1010.200012207, -686.09997558594, 123.09999847412, 0, 0, 305.99670410156);
}

Eto to tako napravim i nece DE MI VIDEO BA DA MI JE LAKSE NE ovako da se zajebavam!!pls
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM

ovako stavi public OnGameModeInit()
{
   // Don't use these lines if it's a filterscript
   SetGameModeText("Blank Script");
   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateObject(4010, 1350.7578125, -1802.28125, 12.6953125, 0, 0, 0);
CreateObject(3749, 1347.1999511719, -1742.1999511719, 18.200000762939, 0, 0, 0);
CreateObject(8673, 1364.1999511719, -1742.3000488281, 14, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 14, 0, 0, 354);
CreateObject(8674, 1336.3000488281, -1742.3000488281, 14, 0, 270, 359.99987792969);
CreateObject(980, 1347.1999511719, -1740.1999511719, 15.199999809265, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 16.89999961853, 0, 0, 353.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 14, 0, 0, 269.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 16.89999961853, 0, 0, 269.99450683594);
CreateObject(985, 1379.0999755859, -1770.8000488281, 12.5, 0, 0, 90);
CreateObject(8673, 1379.0999755859, -1771.1999511719, 19.299999237061, 0, 0, 270);
CreateObject(4100, 992.29998779297, -648.29998779297, 125.59999847412, 0, 2, 342);
CreateObject(4100, 985.90002441406, -650.79998779297, 125.80000305176, 0, 1.99951171875, 341.99890136719);
CreateObject(4100, 973.59997558594, -656.70001220703, 126.30000305176, 0, 1.99951171875, 349.99890136719);
CreateObject(4100, 962, -663.79998779297, 126.59999847412, 0, 1.99951171875, 351.99694824219);
CreateObject(4100, 950.09997558594, -678.79998779297, 127, 0, 1.99951171875, 79.996459960938);
CreateObject(4100, 952.7998046875, -669.5, 126.80000305176, 0, 1.99951171875, 351.99645996094);
CreateObject(4100, 956.90002441406, -690.5, 127, 0, 359.99951171875, 79.991455078125);
CreateObject(4100, 974.29998779297, -711.5, 126.90000152588, 0, 359.99450683594, 167.99145507813);
CreateObject(4100, 963.099609375, -702.69921875, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 965.599609375, -708.099609375, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 1023.299987793, -672.90002441406, 125.80000305176, 0, 359.98901367188, 199.98645019531);
CreateObject(4100, 986.099609375, -704.8994140625, 126.69999694824, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 997.8994140625, -698.099609375, 126.59999847412, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 1006.7998046875, -693.099609375, 126.5, 0, 359.98352050781, 167.98095703125);
CreateObject(4100, 1016.5, -684.19921875, 126.19999694824, 0, 359.98352050781, 197.98461914063);
CreateObject(4100, 1023, -661.70001220703, 125.40000152588, 0, 359.98352050781, 265.98413085938);
CreateObject(4100, 1015, -650.70001220703, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(4100, 1013, -647.90002441406, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(985, 1003.299987793, -643.59997558594, 120.5, 0, 0, 24);
CreateObject(3525, 999, -644.90002441406, 124.5, 0, 0, 205.99996948242);
CreateObject(3525, 1007.299987793, -641.29998779297, 124.40000152588, 0, 2, 202);
CreateObject(3528, 980.90002441406, -677.40002441406, 128.69999694824, 0, 0, 120);
CreateObject(1231, 969.40002441406, -708.40002441406, 124.5, 0, 0, 306);
CreateObject(1231, 952, -676.40002441406, 124.09999847412, 0, 0, 305.99670410156);
CreateObject(1231, 1015.700012207, -657.40002441406, 122.90000152588, 0, 0, 305.99670410156);
CreateObject(1231, 1010.200012207, -686.09997558594, 123.09999847412, 0, 0, 305.99670410156);
return 1;
}

pr0

*

C:\Users\Marko\Desktop\server\gamemodes\kuca1.pwn(39) : warning 217: loose indentation
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.


sad ovo pise,i oce radit to ??
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateObject(4010, 1350.7578125, -1802.28125, 12.6953125, 0, 0, 0);
CreateObject(3749, 1347.1999511719, -1742.1999511719, 18.200000762939, 0, 0, 0);
CreateObject(8673, 1364.1999511719, -1742.3000488281, 14, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 14, 0, 0, 354);
CreateObject(8674, 1336.3000488281, -1742.3000488281, 14, 0, 270, 359.99987792969);
CreateObject(980, 1347.1999511719, -1740.1999511719, 15.199999809265, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1364.19921875, -1742.2998046875, 16.799999237061, 0, 0, 0);
CreateObject(8673, 1338.8000488281, -1839.5, 16.89999961853, 0, 0, 353.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 14, 0, 0, 269.99597167969);
CreateObject(8673, 1378.5999755859, -1821.3000488281, 16.89999961853, 0, 0, 269.99450683594);
CreateObject(985, 1379.0999755859, -1770.8000488281, 12.5, 0, 0, 90);
CreateObject(8673, 1379.0999755859, -1771.1999511719, 19.299999237061, 0, 0, 270);
CreateObject(4100, 992.29998779297, -648.29998779297, 125.59999847412, 0, 2, 342);
CreateObject(4100, 985.90002441406, -650.79998779297, 125.80000305176, 0, 1.99951171875, 341.99890136719);
CreateObject(4100, 973.59997558594, -656.70001220703, 126.30000305176, 0, 1.99951171875, 349.99890136719);
CreateObject(4100, 962, -663.79998779297, 126.59999847412, 0, 1.99951171875, 351.99694824219);
CreateObject(4100, 950.09997558594, -678.79998779297, 127, 0, 1.99951171875, 79.996459960938);
CreateObject(4100, 952.7998046875, -669.5, 126.80000305176, 0, 1.99951171875, 351.99645996094);
CreateObject(4100, 956.90002441406, -690.5, 127, 0, 359.99951171875, 79.991455078125);
CreateObject(4100, 974.29998779297, -711.5, 126.90000152588, 0, 359.99450683594, 167.99145507813);
CreateObject(4100, 963.099609375, -702.69921875, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 965.599609375, -708.099609375, 127, 0, 359.98901367188, 73.987426757813);
CreateObject(4100, 1023.299987793, -672.90002441406, 125.80000305176, 0, 359.98901367188, 199.98645019531);
CreateObject(4100, 986.099609375, -704.8994140625, 126.69999694824, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 997.8994140625, -698.099609375, 126.59999847412, 0, 359.98352050781, 169.98596191406);
CreateObject(4100, 1006.7998046875, -693.099609375, 126.5, 0, 359.98352050781, 167.98095703125);
CreateObject(4100, 1016.5, -684.19921875, 126.19999694824, 0, 359.98352050781, 197.98461914063);
CreateObject(4100, 1023, -661.70001220703, 125.40000152588, 0, 359.98352050781, 265.98413085938);
CreateObject(4100, 1015, -650.70001220703, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(4100, 1013, -647.90002441406, 124.90000152588, 0, 359.97802734375, 265.97900390625);
CreateObject(985, 1003.299987793, -643.59997558594, 120.5, 0, 0, 24);
CreateObject(3525, 999, -644.90002441406, 124.5, 0, 0, 205.99996948242);
CreateObject(3525, 1007.299987793, -641.29998779297, 124.40000152588, 0, 2, 202);
CreateObject(3528, 980.90002441406, -677.40002441406, 128.69999694824, 0, 0, 120);
CreateObject(1231, 969.40002441406, -708.40002441406, 124.5, 0, 0, 306);
CreateObject(1231, 952, -676.40002441406, 124.09999847412, 0, 0, 305.99670410156);
CreateObject(1231, 1015.700012207, -657.40002441406, 122.90000152588, 0, 0, 305.99670410156);
CreateObject(1231, 1010.200012207, -686.09997558594, 123.09999847412, 0, 0, 305.99670410156);
return 1;
}
tako stavi i radice

pr0

*

Pa to je isto ko ono gore sta si stavio...To sam vec probo nece :S
Mapper || Slobodan
Skripter || Slobodan

MAPPAM i SKRIPTAM!!Zainteresirani na PM