Szerző Téma: Itt kérdezz warningot/error -t!  (Megtekintve 125055 alkalommal)

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #30 Dátum: 2012. Június 11. - 21:46:11 »
0

TextDrawCreate( 172.000000, 52.000000, \"~r~Aktivitás: xy\" );

 Majd valahol máshol kérdezd le az értéket.

Itt kérdezz warningot/error -t!
« Válasz #31 Dátum: 2012. Június 11. - 21:49:33 »
0
Nem értelek... hogy?

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #32 Dátum: 2012. Június 11. - 21:51:08 »
0
Hát létrehozod a textdrawot, és mondjuk elindítasz egy idõzítõt, és ha az idõzítõ letelik, akkor módosítod a textdraw szövegét.

Itt kérdezz warningot/error -t!
« Válasz #33 Dátum: 2012. Június 11. - 21:51:59 »
0
Nem lenne egyszerûbb format-ba megadnom?:DD

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #34 Dátum: 2012. Június 11. - 21:53:11 »
0
Úgy gondoltam, hogy megformázod a szöveget. :D Létrehozod a textdrawot, és máshol pedig formázod a szöveget, és módosítod a textdrawot.

Itt kérdezz warningot/error -t!
« Válasz #35 Dátum: 2012. Június 11. - 21:57:11 »
0
TeamSpeak-re nem jösz?:)

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #36 Dátum: 2012. Június 11. - 21:59:10 »
0
Nemtudok, meg még van pár dolgom.

Itt kérdezz warningot/error -t!
« Válasz #37 Dátum: 2012. Június 14. - 18:48:26 »
0
        TextDrawHideForPlayer(playerid, IndexbTextDraw[playerid]);
Ezzel mi a baj?
D:\\rpszerver\\filterscripts\\index.pwn(116) : error 028: invalid subscript (not an array or too many subscripts): \"IndexbTextDraw\"
D:\\rpszerver\\filterscripts\\index.pwn(116) : warning 215: expression has no effect
D:\\rpszerver\\filterscripts\\index.pwn(116) : error 001: expected token: \";\", but found \"]\"
D:\\rpszerver\\filterscripts\\index.pwn(116) : error 029: invalid expression, assumed zero
D:\\rpszerver\\filterscripts\\index.pwn(116) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
4 Errors.
MEGOLDVA
« Utoljára szerkesztve: 2012. Június 14. - 18:50:49 írta N@rbirock »

Itt kérdezz warningot/error -t!
« Válasz #38 Dátum: 2012. Június 20. - 11:53:58 »
0
(839) : error 017: undefined symbol \"newstate\"
(848) : error 017: undefined symbol \"newstate\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
2 Errors.
 
839    if (newstate == PLAYER_STATE_DRIVER)
848        if(newstate == PLAYER_STATE_DRIVER)

 
Ez mér van?

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #39 Dátum: 2012. Június 20. - 12:13:07 »
0
Hová raktad mert ahova beilesztetted írd oda: newstate!  pl:  public OnPlayerStateChange(playerid, newstate, oldstate)

Itt kérdezz warningot/error -t!
« Válasz #40 Dátum: 2012. Június 20. - 12:31:04 »
0
public OnPlayerExitVehicle( playerid, vehicleid )

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #41 Dátum: 2012. Június 20. - 12:36:46 »
0
public OnPlayerExitVehicle( playerid, vehicleid, newstate )

Itt kérdezz warningot/error -t!
« Válasz #42 Dátum: 2012. Június 20. - 12:52:32 »
0
(846) : error 017: undefined symbol \"newstate\"
(870) : error 029: invalid expression, assumed zero
(870) : error 017: undefined symbol \"newstate\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
3 Errors.

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #43 Dátum: 2012. Június 20. - 12:56:46 »
0
Idézetet írta: ZyZu date=1340188606\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
public OnPlayerExitVehicle( playerid, vehicleid, newstate )
 
Így beraktad?

Itt kérdezz warningot/error -t!
« Válasz #44 Dátum: 2012. Június 20. - 12:58:23 »
0
Igen.
 
public OnPlayerExitVehicle( playerid, vehicleid, newstate )
{
    new vehicleid1 = GetPlayerVehicleID(playerid);
     if( GetVehicleModel(vehicleid1) == 598 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else { RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 599 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][rendor] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     if( GetVehicleModel(vehicleid1) == 416 )
     {
                if(pi[playerid][admin] >= 1 || pi[playerid][mento] >= 1)
                        {
                        }else {RemovePlayerFromVehicle(playerid);}
     }
     }
    return 1;
}

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal