Szerző Téma: GetPlayerState hibák  (Megtekintve 2565 alkalommal)

GetPlayerState hibák
« Válasz #15 Dátum: 2012. Május 02. - 13:36:20 »
+1 Show voters
Ami a CMD:Sapka rész elõtt van ott nézd meg megvannak-e  mindenhol a visszautalások ( return ), zárások, nyitások. Ezzel lesz ott a gond.

Nem elérhető fbsokk

  • 427
    • Profil megtekintése
GetPlayerState hibák
« Válasz #16 Dátum: 2012. Május 02. - 13:43:08 »
+1 Show voters
Te most amúgy mit akarsz a getplayerstat-el kezdeni????? o.O

GetPlayerState hibák
« Válasz #17 Dátum: 2012. Május 02. - 15:06:33 »
0 Show voters
megvan
\"asdasd[gta]\"

GetPlayerState hibák
« Válasz #18 Dátum: 2012. Május 02. - 15:10:31 »
+1 Show voters
Sok parancs van benne? Mert ha igen, akkor mind1. Ha nem akkor nézd át õket, bezavarhatják egymást.

Nem elérhető Mike.

  • 720
    • Profil megtekintése
GetPlayerState hibák
« Válasz #19 Dátum: 2012. Május 02. - 18:11:50 »
+1 Show voters
A \"CMD:sapka(playerid, params[])\" feletti parancsnál hiányzik talán egy \"}\"

Nem elérhető Norby

  • 1575
    • Profil megtekintése
GetPlayerState hibák
« Válasz #20 Dátum: 2012. Május 02. - 19:50:42 »
+1 Show voters
Szerintem valami nincs lezárva vagy egy zárójel bezárva!

GetPlayerState hibák
« Válasz #21 Dátum: 2012. Május 02. - 19:54:42 »
0 Show voters
Átnéztem az összes parancsot és nincs sehol se elhagyva egy \")\" vagy \";\"
« Utoljára szerkesztve: 2012. Május 02. - 21:20:42 írta FastFurious »

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
GetPlayerState hibák
« Válasz #22 Dátum: 2012. Május 03. - 19:27:50 »
+1 Show voters
írd le az összes nitros cuccot ami benne volt please

GetPlayerState hibák
« Válasz #23 Dátum: 2012. Május 03. - 19:43:42 »
0 Show voters
de most más a hiba :
 
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 017: undefined symbol \"cmd_sapka\"
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
4 Errors.

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
GetPlayerState hibák
« Válasz #24 Dátum: 2012. Május 03. - 19:50:26 »
+1 Show voters
De ne az errorokat azt már láttam hanem hogy hol szerepel és az elejétõl hogy hol van ez a Checknitro vagy mi

GetPlayerState hibák
« Válasz #25 Dátum: 2012. Május 03. - 20:15:29 »
0 Show voters
0k de az már ki van véve
de adom
 
#include <a_samp>
public OnFilterScriptInit()   return print(\" *|Epsilon Nitrous|*\"),1;
public OnPlayerExitVehicle(playerid,vehicleid) RemoveVehicleComponent(vehicleid, 1010);
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !CheckNitro(GetPlayerVehicleID(playerid))) return false; else   if ((((newkeys & (4)) == (4)) && ((oldkeys & (4)) != (4)))) AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); else if ((((newkeys & (4)) != (4)) && ((oldkeys & (4)) == (4)))) RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1010);
return 1;
}
CheckNitro(vid)
{
    new NoNitro[] = { 522,481,441,468,448,446,513,521,510,430,520,476,463 }; // unknown
for(new e = 0; e < sizeof(NoNitro); e++) if(GetVehicleModel(vid) == NoNitro[e]) return false;
return true;
}

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
GetPlayerState hibák
« Válasz #26 Dátum: 2012. Május 04. - 16:39:22 »
+1 Show voters
Most tedd ezt be és ezek itt nem erroroznak ? :
CheckNitro(vid)
{
    new NoNitro[] = { 522,481,441,468,448,446,513,521,510,430,520,476,463 }; // unknown
        for(new e = 0; e < sizeof(NoNitro); e++) if(GetVehicleModel(vid) == NoNitro[e]) return false;
        return true;
}

GetPlayerState hibák
« Válasz #27 Dátum: 2012. Május 04. - 18:33:12 »
0 Show voters
de nem kell ez a nitro nkm az kellene hogy ne legyen error os a mod  :@

Kovacs_Bela

  • Vendég
GetPlayerState hibák
« Válasz #28 Dátum: 2012. Május 06. - 16:20:11 »
+1 Show voters
Idézetet írta: FastFurious date=1336067022\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20853\" data-ipsquote-contentclass=\"forums_Topic
de most más a hiba :
 
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 017: undefined symbol \"cmd_sapka\"
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
4 Errors.

 

mód elején van #include <zcmd> ?

GetPlayerState hibák
« Válasz #29 Dátum: 2012. Május 06. - 18:41:43 »
+1 Show voters
Idézetet írta: danix99 date=1336314011\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20853\" data-ipsquote-contentclass=\"forums_Topic


de most más a hiba :
 
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 017: undefined symbol \"cmd_sapka\"
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\FastFurious\\Asztal\\SZERO\\gamemodes\\LoL.pwn(9643) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
4 Errors.

 

mód elején van #include <zcmd> ?
 
[/quote]
Akkor már én is kérdezek:
Ugye nem callback-n (OnPlayerCommandText) belülre raktad a parancsot?

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal