Pickup helpp

Započeo Simec, Novembar 22, 2017, 18:49:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: mod od 0
Detaljan opis problema: pa svaki od ovih pickupa stoji al nigde mi ne rade tj. ne pisu labeli, textovi tih pickupova
Dio skripte: ispod je
Neke slike/video za lakse dobivanje pomoci(neobavezno): //


CreatePickup(1314, 1, 2522.4756, -1679.2355, 15.4970, 0);
Create3DTextLabel("Grove Street Families HQ", -1, 2522.4756, -1679.2355, 15.4970, 10.0, 0, 0);

CreatePickup(1314, 1, 2045.5447, -1116.1219, 26.3617, 0);
Create3DTextLabel("Ballas HQ", -1, 2045.5447, -1116.1219, 26.3617, 10.0, 0);

CreatePickup(1314, 1, 1684.8185, -2099.0588, 13.8343, 0);
Create3DTextLabel("Varrios Los Aztecas HQ", -1, 1684.8185, -2099.0588, 13.8343, 10.0, 0,0);

CreatePickup(1314, 1, 2808.0615, -1189.7864, 25.3446, 0);
Create3DTextLabel("Los Santos Vagos HQ", -1, 2808.0615, -1189.7864, 25.3446, 10.0, 0, 0);

    CreatePickup(1239, 1, 593.1841, -1249.7542, 18.2069, 0);
Create3DTextLabel("Banka", -1, 593.1841, -1249.7542, 18.2069, 10.0, 0, 0);

    CreatePickup(1239, 1, 604.3321,-1276.2443,995.6459, 0);
Create3DTextLabel("Banka Izlaz", -1, 604.3321,-1276.2443,995.6459, 10.0, 0, 0);

CreatePickup(1254, 1, 1490.2839,1305.9213,1093.2964, 0);
Create3DTextLabel("Da izvadite dozvole kucajte \n/dozvola", -1, 1490.2839,1305.9213,1093.2964, 10.0, 0, 0);

    CreatePickup(1239, 1, 576.4832, -1273.1786, 995.6459, 0);
Create3DTextLabel("Otvaranje racuna u banci \n/racun", -1, 576.4832, -1273.1786, 995.6459, 10.0, 0, 0);

    CreatePickup(1239, 1, 573.1008, -1287.5659, 995.6459, 0);
Create3DTextLabel("Podizanje kredita \n/kredit", -1, 573.1008, -1287.5659, 995.6459, 10.0, 0, 0);

    CreatePickup(1239, 1, 573.1008, -1265.4025, 995.6459, 0);
Create3DTextLabel("Salter 1 \nDa ostavite novac /stavinovac", -1, 573.1008, -1265.4025, 995.6459, 10.0, 0, 0);

CreatePickup(1239, 1, 573.1008, -1258.3695, 995.6459, 0);
Create3DTextLabel("Salter 2 \nDa podignete novac /podigninovac", -1, 573.1008, -1258.3695, 995.6459, 10.0, 0, 0);

    CreatePickup(1239, 1, 1483.4316,-1777.3363,999.0159, 0);
Create3DTextLabel("Opstina Izlaz\nDa izadjete pritisnite F", -1, 1483.4316,-1777.3363,999.0159, 10.0, 0, 0);

CreatePickup(1239, 1, 1479.4440,-1772.3136,18.7958, 0);
Create3DTextLabel("Opstina\nDa udjete pritisnite F", -1, 1479.4440,-1772.3136,18.7958, 10.0, 0, 0);

CreatePickup(1239, 1, 1553.9333, -1675.6754, 16.1953, 0);
Create3DTextLabel("LSPD", -1, 1553.9333, -1675.6754, 16.1953, 10.0, 0, 0);

CreatePickup(1239, 1, 2047.0300, -1908.0302, 13.5469, 0);
Create3DTextLabel("Auto skola", -1, 2047.0300, -1908.0302, 13.5469, 10.0, 0, 0);

CreatePickup(1239, 1, 1481.7111, -1799.7876, 999, 0);
Create3DTextLabel("Salter 1\nBiro\n/posao", -1, 1481.7111, -1799.7876, 999, 10.0, 0, 0);

CreatePickup(1239, 1, 1471.5800, -1790.4379, 999, 0);
Create3DTextLabel("Salter 2", -1, 1471.5800, -1790.4379, 999, 10.0, 0, 0);

CreatePickup(1239, 1, 1490.7458, -1791.9382, 999, 0);
Create3DTextLabel("Salter 3", -1, 1490.7458, -1791.9382, 999, 10.0, 0, 0);

CreatePickup(1239, 1, 1490.5601, -1788.1923, 999, 0);
Create3DTextLabel("Salter 4", -1, 1490.5601, -1788.1923, 999, 10.0, 0, 0);

CreatePickup(1239, 1, 1492.3096, -1779.2615, 999, 0);
Create3DTextLabel("Salter 5", -1, 1492.3096, -1779.2615, 999, 10.0, 0, 0);

CreatePickup(1239, 1, 1470.7263, -1779.7361, 999, 0);
Create3DTextLabel("Salter 6\nIzdavanje licnih karti\n/licnakarta", -1, 1470.7263, -1779.7592, 999, 10.0, 0, 0);

CreatePickup(1239, 1, -45.2776, -1153.3925, 1.1169, 0);
Create3DTextLabel("RS Haul Company", -1, -45.2776, -1153.3925, 1.1169, 10.0, 0, 0);

CreatePickup(1239, 1, 1490.2839,1305.9213,1093.2964, 0);
Create3DTextLabel("Auto Skola", -1, 1490.2839,1305.9213,1093.2964, 10.0, 0, 0);

CreatePickup(1239, 1, 2494.0493, -1464.1653, 24.0250, 0);
Create3DTextLabel("/duty", -1, 2494.0493, -1464.1653, 24.0250, 10.0, 0, 0);

    CreatePickup(1239, 1, 1516.5283, -1452.8676, 14.2031, 0);
Create3DTextLabel("DETEKTIV SLUZBA\nDa bi ste usli u zgradu pritisnite F", -1, 1516.5283, -1452.8676, 14.2031, 10.0, 0, 0);

    CreatePickup(1239, 1, 1080.5663,-1736.9767,13.5264, 0); // taxi
Create3DTextLabel("TAXI SLUZBA\nDa se zaposlite kucajte /uzmiposao", -1, 1080.5663,-1736.9767,13.5264, 10.0, 0, 0);

    CreatePickup(1239, 1, 1112.5970,-1196.0919,18.1109); // komunalac
Create3DTextLabel("KOMUNALNA SLUZBA\nDa se zaposlite kucajte /uzmiposao", -1, 1112.5970,-1196.0919,18.1109, 10.0, 0, 0);

CreatePickup(1239, 1, -45.9818,-1154.6240,1.1169, 0); // kamiondzija
Create3DTextLabel("Da se zaposlite kucajte /uzmiposao", -1, -45.9818,-1154.6240,1.1169, 10.0, 0, 0);

CreatePickup(1239, 1, 2487.9883,-1464.6136,24.0209, 0); // mehanicar
Create3DTextLabel("MEHANICAR SLUZBA\nDa se zaposlite kucajte /uzmiposao", -1, 2487.9883,-1464.6136,24.0209, 10.0, 0, 0);

CreatePickup(1239, 1, -135.6795, 138.2959, 1001.0859, 0); // DETEKTIV
Create3DTextLabel("DETEKTIV SLUZBA\nDa se zaposlite kucajte /uzmiposao", -1, -135.6795, 138.2959, 1001.0859, 10.0, 0, 0);

CreatePickup(1239, 1, -153.1795, 136.1176, 1001.0859, 0);
Create3DTextLabel("Duznost\n/duty", -1, -153.1795, 136.1176, 1001.0859, 10.0, 0, 0);

CreatePickup(1239, 1, 2123.1248, -2273.5098, 20.6719, 0);
Create3DTextLabel("POSAO: SVERCER MATERIJALA\nDa se zaposlite kucajte /uzmiposao", -1, 2123.1248, -2273.5098, 20.6719, 10.0, 0, 0);

CreatePickup(1239, 1, 2125.7737, -2276.0076, 20.6719, 0);
Create3DTextLabel("POSAO: SVERCER DROGE\nDa se zaposlite kucajte /uzmiposao", -1, 2125.7737, -2276.0076, 20.6719, 10.0, 0, 0);

CreatePickup(1247, 1, 255.3859,77.4095,1003.6406,0);
Create3DTextLabel("LSPD Duty", -1, 255.3859,77.4095,1003.6406,10.0,0,0);
Srbija RolePlay v1 - uskoro

jel ti izbacuje neke warninge kad kompajlas?

29 komanda warrninga eo ti al ja ih ne znam fixati :D
D:\GoMilano\gamemodes\gomilanorp.pwn(3269) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(3724) : warning 219: local variable "kmh" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(6310) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(6311) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(7000) : warning 204: symbol is assigned a value that is never used: "speed"
D:\GoMilano\gamemodes\gomilanorp.pwn(6999) : warning 203: symbol is never used: "fSpeed"
D:\GoMilano\gamemodes\gomilanorp.pwn(6999) : warning 204: symbol is assigned a value that is never used: "fPos"
D:\GoMilano\gamemodes\gomilanorp.pwn(8381) : warning 203: symbol is never used: "objective"
D:\GoMilano\gamemodes\gomilanorp.pwn(8381) : warning 203: symbol is never used: "boot"
D:\GoMilano\gamemodes\gomilanorp.pwn(8381) : warning 203: symbol is never used: "bonnet"
D:\GoMilano\gamemodes\gomilanorp.pwn(8381) : warning 203: symbol is never used: "doors"
D:\GoMilano\gamemodes\gomilanorp.pwn(8381) : warning 203: symbol is never used: "alarm"
D:\GoMilano\gamemodes\gomilanorp.pwn(8909) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(8936) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(8950) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(10458) : warning 203: symbol is never used: "A"
D:\GoMilano\gamemodes\gomilanorp.pwn(10579) : warning 215: expression has no effect
D:\GoMilano\gamemodes\gomilanorp.pwn(10694) : warning 204: symbol is assigned a value that is never used: "GetName"
D:\GoMilano\gamemodes\gomilanorp.pwn(13863) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(13919) : warning 211: possibly unintended assignment
D:\GoMilano\gamemodes\gomilanorp.pwn(13980) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(13981) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(14591) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(14592) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(14762) : warning 202: number of arguments does not match definition
D:\GoMilano\gamemodes\gomilanorp.pwn(15373) : warning 209: function "@_yCkupiimenik" should return a value
D:\GoMilano\gamemodes\gomilanorp.pwn(15615) : warning 217: loose indentation
D:\GoMilano\gamemodes\gomilanorp.pwn(16222) : warning 203: symbol is never used: "gSANZones"
D:\GoMilano\gamemodes\gomilanorp.pwn(16222) : warning 203: symbol is never used: "gSAZones"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


29 Warnings.

pomagaj brate cu se ubiem :DD
Srbija RolePlay v1 - uskoro

nisu svi warninzi vezani za ove labele
salji nam liniju po liniju da fixamo ove warninge

linije warrninga ili linija gde se warning pojavio?
Srbija RolePlay v1 - uskoro


vecinu sam ispravio, ovo je ostalo
pomoc?
ko zna nek se javi u pp
D:\GoMilano\gamemodes\gomilanorp.pwn(3724) : warning 219: local variable "kmh" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(8907) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(8934) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(8948) : warning 219: local variable "health" shadows a variable at a preceding level
D:\GoMilano\gamemodes\gomilanorp.pwn(10577) : warning 215: expression has no effect
D:\GoMilano\gamemodes\gomilanorp.pwn(14760) : warning 202: number of arguments does not match definition
D:\GoMilano\gamemodes\gomilanorp.pwn(16225) : warning 203: symbol is never used: "gSANZones"
D:\GoMilano\gamemodes\gomilanorp.pwn(16225) : warning 203: symbol is never used: "gSAZones"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


8 Warnings.
Srbija RolePlay v1 - uskoro

Create3DTextLabel("Grove Street Families HQ", -1, 2522.4756, -1679.2355, 15.4970, 10.0, 0, 0);

Tipa ovaj, vidi da li ti je VW igraca 0.

Create3DTextLabel - WIKI

ne znam kako to da pogledam ?
Srbija RolePlay v1 - uskoro

Napravis debug npr

CMD:getvw(p,pr[]) { printf("VW(%d) = %d", p, GetPlayerVirtualWorld(p)); return 1; }

aj javi mi se na fb da sredimo to nsm ja bas upucen mng u skriptu za te VWove
Srbija RolePlay v1 - uskoro

uradi ovako
[pawn]stock Create3DandP( text[], Float:vXU, Float:vYU, Float:vZU, vInt, vVW, pickupid, Float:radius ) {
   CreateDynamic3DTextLabel(text, 0x0059FFAA, vXU, vYU, vZU, radius, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, vVW, vInt, -1, 20.0);
   CreateDynamicPickup(pickupid, 1, vXU, vYU, vZU, vVW, vInt);
}[/pawn]

i onda samo uradi [pawn]Create3DandP(""{ffff00}"Growe street Family", 151.2055, -92.5647, 1001.8047, -1, -1, ovde id pickupa -> npr 1239, 2.0 );[/pawn]
www.Game-State.com" style="border-style: none;

www.Game-State.com" style="border-style: none;

RADI, lock
Srbija RolePlay v1 - uskoro