Szerző Téma: Gond a /v -s autórendszerrel.  (Megtekintve 1429 alkalommal)

Gond a /v -s autórendszerrel.
« Dátum: 2012. Június 07. - 23:07:16 »
0 Show voters
Szeretném a segítségeteket kérni!
Be vannak rakva a Role Play szerveremre frakció autók, beraktam saját banda autókat, meg is lett oldva hogy csak tagok használhassák de amit új onnan rakok le autót és beülök egybõl ki írja hogy megvétel /v buy és ráadásul $0 -t kér érte.
Kerestem a hibát de nem találtam meg, kérem segítsetek!
Nagyon szépen köszönöm :)

Gond a /v -s autórendszerrel.
« Válasz #1 Dátum: 2012. Június 07. - 23:15:16 »
0 Show voters
SeeRPG mod? vagy ha nem akkor másold be hogy mi hogy van megoldva, és akkor talán tudok segíteni

Gond a /v -s autórendszerrel.
« Válasz #2 Dátum: 2012. Június 07. - 23:37:11 »
+1 Show voters
Dehogy SeeRPG :D

Bandakocsik:

 
AddStaticVehicleEx(567,2498.6230,-1683.0894,13.1020,286.4749,86,86); // groovesavanna 184
    AddStaticVehicleEx(567,2499.2498,-1654.7727,13.1447,70.4239,86,86); // groovesavanna 185
    AddStaticVehicleEx(492,2480.9751,-1653.8278,13.1085,88.4791,86,86); // groovegreenwood 186
    AddStaticVehicleEx(492,2469.1133,-1671.1011,13.1189,188.7395,86,86); // groovegreenwood 187
    AddStaticVehicleEx(492,2451.4436,-1664.3088,13.1070,88.9024,86,86); // groovegreenwood 188
    AddStaticVehicleEx(567,2485.6687,-1683.6064,13.1386,267.4629,86,86); // groovesavanna 189
    //==================================================================================================
    AddStaticVehicleEx(566,2488.0618,-1509.6017,23.6312,93.2668,85,85); // ballasauto 190
    AddStaticVehicleEx(534,2490.7341,-1525.9885,23.7125,359.1751,85,85); // ballasauto 191
    AddStaticVehicleEx(517,2475.3003,-1527.1180,23.7182,179.4401,85,85); // ballasauto 192
    AddStaticVehicleEx(567,2484.0002,-1536.5071,23.7224,180.4630,85,85); // ballasauto 193
    AddStaticVehicleEx(517,2466.2710,-1545.7935,23.7205,91.5887,85,85); // ballasauto 194
    AddStaticVehicleEx(474,2452.9968,-1557.0796,23.7203,88.7290,85,85); // ballasauto 195
    //==================================================================================================
    AddStaticVehicleEx(575,1699.0526,-2098.8352,13.2683,180.1478,7,7); // aztecasauto 196
    AddStaticVehicleEx(419,1668.1544,-2113.7173,13.2685,269.1505,7,7); // aztecasauto 197
    AddStaticVehicleEx(518,1691.9385,-2118.4990,13.1806,270.8511,7,7); // aztecasauto 198
    AddStaticVehicleEx(474,1708.8558,-2107.2458,13.1827,270.6798,7,7); // aztecasauto 199
    AddStaticVehicleEx(419,1686.9000,-2107.4045,13.1831,269.9990,7,7); // aztecasauto 200

 
Ahogy be vannak írva[AZ ELSÕT ÉS A 2 UTOLSÓT HASZNÁLOM MOST CSAK]:
 
public IsAGangCar(carid)
{
if((carid >= 196) && (carid <= 200))
{
return 1;
}
return 0;
}
public IsAGangCar2(carid)
{
if(carid == 300 || carid == 301 || carid == 302 || carid == 303 || carid == 304 || carid == 305)
{
return 1;
}
return 0;
}
public IsAGangCar3(carid)
{
if((carid >= 500) && (carid <= 505))
{
return 1;
}
return 0;
}
public IsAGangCar4(carid)
{
if((carid >= 184) && (carid <= 189))
{
return 1;
}
return 0;
}
public IsAGangCar5(carid)
{
if((carid >= 190) && (carid <= 195))
{
return 1;
}
return 0;
}

 
Amit kiír még Compile:
 
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11497) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11498) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11499) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11500) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11501) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11502) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11503) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11504) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11505) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11506) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11507) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11509) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11510) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11511) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11512) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11514) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11515) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11516) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11517) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11706) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11707) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11708) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11709) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11710) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11711) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11713) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11714) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11715) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11716) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11717) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11718) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11720) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11721) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11722) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11723) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(11724) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(46990) : warning 203: symbol is never used: \"LoopingAnim\"
C:\\Documents and Settings\\Norbi\\Dokumentumok\\Szerver\\gamemodes\\freedomrp.pwn(46990) : warning 203: symbol is never used: \"gMedicSpawns\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
Header size:           9508 bytes
Code size:          1776268 bytes
Data size:         10341816 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12143976 bytes
38 Warnings.

 
Valahol át kell írni valami ID-t de nem találom sehol.

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #3 Dátum: 2012. Június 07. - 23:48:24 »
0 Show voters
Melyik mod ez mert tudom mi a hiba

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #4 Dátum: 2012. Június 08. - 07:23:52 »
0 Show voters
Az összes AddStaticVehicleEx-nél ki van hogyva a \"respawn delay\".

Gond a /v -s autórendszerrel.
« Válasz #5 Dátum: 2012. Június 08. - 14:38:58 »
0 Show voters
Idézetet írta: ZyZu date=1339105704\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic
Melyik mod ez mert tudom mi a hiba
 
GF mod :D
 

Az összes AddStaticVehicleEx-nél ki van hogyva a \"respawn delay\".
 
[/quote]
Nem segít :S

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #6 Dátum: 2012. Június 08. - 14:47:32 »
0 Show voters
Igen, ezt ismerem én is mikor lerakod akkor a kocsi összege a kocsi tetején írja 0$! Bemásolnád a textdraw kiegészíntõket amikor adod neki az összeget, a parancs kéne inkább..

Nem elérhető Szilard

  • Adminisztrátor
  • 1832
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #7 Dátum: 2012. Június 08. - 14:50:07 »
0 Show voters
Elméletileg ott lesz baj, ahol megvan adva, hogy melyik autót lehet megvenni (ID szerint). Azt írd át.
Smooth Life-n is volt ez is a baj, bár ott teljesen bugos volt az autórendszer, és újat kellett írni.

Gond a /v -s autórendszerrel.
« Válasz #8 Dátum: 2012. Június 08. - 15:02:30 »
0 Show voters
Idézetet írta: ZyZu date=1339159652\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic
Igen, ezt ismerem én is mikor lerakod akkor a kocsi összege a kocsi tetején írja 0$! Bemásolnád a textdraw kiegészíntõket amikor adod neki az összeget, a parancs kéne inkább..
 
\"QEAVWUtvAwMHAlJPQgVR\"
\"QEAVWUtvAwMHAlJPRQVR\"
 

Elméletileg ott lesz baj, ahol megvan adva, hogy melyik autót lehet megvenni (ID szerint). Azt írd át.
Smooth Life-n is volt ez is a baj, bár ott teljesen bugos volt az autórendszer, és újat kellett írni.
 
[/quote]
Átírnám csak az a bajom nem vagyok még olyan szinten a scriptelésbe és nem találom :S

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #9 Dátum: 2012. Június 08. - 15:04:09 »
0 Show voters
Idézetet írta: Roger1027 date=1339160550\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic


Igen, ezt ismerem én is mikor lerakod akkor a kocsi összege a kocsi tetején írja 0$! Bemásolnád a textdraw kiegészíntõket amikor adod neki az összeget, a parancs kéne inkább..
 
\"QEAVWUtvAwMHAlJPQgVR\"
\"QEAVWUtvAwMHAlJPRQVR\"
 

Elméletileg ott lesz baj, ahol megvan adva, hogy melyik autót lehet megvenni (ID szerint). Azt írd át.
Smooth Life-n is volt ez is a baj, bár ott teljesen bugos volt az autórendszer, és újat kellett írni.
 
[/quote]
Átírnám csak az a bajom nem vagyok még olyan szinten a scriptelésbe és nem találom :S
 
[/quote]
Ha bemnásolnád a parancsot amivel a kocsikat eladód az szerintem sokat segítne nekünk! :)

Nem elérhető Szilard

  • Adminisztrátor
  • 1832
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #10 Dátum: 2012. Június 08. - 15:06:21 »
0 Show voters
ZyZu, nem is abban van. Majd ha géprõl leszek TV-n megnézem.

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #11 Dátum: 2012. Június 08. - 15:07:58 »
0 Show voters
Idézetet írta: Szilard00 date=1339160781\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic
ZyZu, nem is abban van. Majd ha géprõl leszek TV-n megnézem.
 
De abban van gondolkoz már mikor létre hozzod a kocsit úgye? Már akkor nem add árrat a kocsinak na a parancsban van a hiba vagy valamelyik stock vagy publikban..

Gond a /v -s autórendszerrel.
« Válasz #12 Dátum: 2012. Június 08. - 15:09:43 »
0 Show voters
Idézetet írta: ZyZu date=1339160649\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic


 

Igen, ezt ismerem én is mikor lerakod akkor a kocsi összege a kocsi tetején írja 0$! Bemásolnád a textdraw kiegészíntõket amikor adod neki az összeget, a parancs kéne inkább..
 
\"QEAVWUtvAwMHAlJPQgVR\"
\"QEAVWUtvAwMHAlJPRQVR\"
 

Elméletileg ott lesz baj, ahol megvan adva, hogy melyik autót lehet megvenni (ID szerint). Azt írd át.
Smooth Life-n is volt ez is a baj, bár ott teljesen bugos volt az autórendszer, és újat kellett írni.
 
[/quote]
Átírnám csak az a bajom nem vagyok még olyan szinten a scriptelésbe és nem találom :S
 
[/quote]
Ha bemnásolnád a parancsot amivel a kocsikat eladód az szerintem sokat segítne nekünk! :)
 
[/quote]
/v sell az autókereskedõnél

Nem elérhető Szilard

  • Adminisztrátor
  • 1832
    • Profil megtekintése
Gond a /v -s autórendszerrel.
« Válasz #13 Dátum: 2012. Június 08. - 15:10:47 »
0 Show voters
IsAnOwnableVehicle van? Azt másold be..
És a legelsõ, legutolsó vehetõ kocsi ID-jét.

Gond a /v -s autórendszerrel.
« Válasz #14 Dátum: 2012. Június 08. - 15:14:52 »
0 Show voters
Idézetet írta: Szilard00 date=1339161047\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22542\" data-ipsquote-contentclass=\"forums_Topic
IsAnOwnableVehicle van? Azt másold be..
És a legelsõ, legutolsó vehetõ kocsi ID-jét.
 
Megvan köszi a segítséget :D innen már magamtól is rájöttem ^^ köszönöm mindenkinek!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal