Jump to content
  • 0

pomoc big lama potrebuje pomoc s register


Guest Oraj

Dotaz

postupoval som podla tohto tut http://www.play-zone.mteam.cz/forum/vie ... hread_id=9" onclick="window.open(this.href);return false;

 

vypisuje:

C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 017: undefined symbol "PLAYERLIST_authed"
C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : warning 215: expression has no effect
C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 001: expected token: ";", but found "]"
C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : error 029: invalid expression, assumed zero
C:\Users\Tomas\Desktop\pawno\vytvor\Untitled.pwn(76) : 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.

76 riadok PLAYERLIST_authed[playerid]=false;

pls som lama nemusite to komentovat........... pls co a kde mam dolpnit pripadne vymazat

Link to comment
Share on other sites

Recommended Posts

  • 0

tak momentalne som som presiel na vodicak

pracoval som na tomto

http://www.pawno.cz/viewtopic.php?f=8&t=204&st=0&sk=t&sd=a&hilit=vodicak zacalo vyhadzovat toto

C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(449) : error 017: undefined symbol "Current"
C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(461) : error 017: undefined symbol "string"
C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(462) : error 017: undefined symbol "string"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

takze idem znova na forum a vidim

 

new string[256];
new Menu:Current = GetPlayerMenu(playerid);

lenze tu nastava problem ako nahle to dam do Pawno a dam F5/F6 tak mi napise vista ze pawno prestalo fungovat je to nejka zla oprava alebo SW chyba v PC:???

pripadne je nejake ine riesenie ??

Dakujem

Link to comment
Share on other sites

  • 0

ale to nejaka blbost............ ved mi vypisuje iba 3 errory ktore by sa mali tym i vyriesit..........

 

C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(449) : error 017: undefined symbol "Current"

C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(461) : error 017: undefined symbol "string"

C:\Users\Tomas\Desktop\pawno\dakachyba.pwn(462) : error 017: undefined symbol "string"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

3 Errors.

 

nie je na to nejake ine riesenie ????

Link to comment
Share on other sites

  • 0

Nwm přesně ten string ale ja to mam takto a funguje to!

 

public OnPlayerSelectedMenuRow(playerid, row)
{
  new Menu:Current = GetPlayerMenu(playerid), string[128];

  if (Current == swat )
  { 
// POKRACOVANI MENU A PRIKAZŮ

Link to comment
Share on other sites

  • 0
Nwm přesně ten string ale ja to mam takto a funguje to!

 

public OnPlayerSelectedMenuRow(playerid, row)
{
  new Menu:Current = GetPlayerMenu(playerid), string[128];

  if (Current == swat )
  { 
// POKRACOVANI MENU A PRIKAZŮ

bez zmeny

tu su tiadky v ktorych vyhazdzuje chybu

if (Current == autoskola ) {

format(string, 256, "Hráč %s si kúpil vodičák !", pname);

SendClientMessageToAll(BARVA_ZLU,string);

 

prosim pomoc.......... som zúfali

Link to comment
Share on other sites

  • 0

Sry sem taky lama ale možna to pojede:

 

Zkus změnit

format(string, 256, "Hráč %s si kúpil vodičák !", pname);

 

na

format(string, 128, "Hráč %s si kúpil vodičák !", pname);

 

 

//EDIT: Pokud to nepomuže tak dej zpět new string[256]; a format(string, 256....dej a pak zkus tohle dat misto tvyho menu:

 

   if (Current == vodicakmenu )
  {
     switch(row)
     {
        case 0:
        {
           if (ridicak[playerid] == 1)
           {
              SendClientMessage(playerid, COLOR_YELLOW, "Kolik si chceš kupovat řidičáků?Vždyť už ho máš! !"); //prepiste na svoje
           }else{

              if(GetPlayerMoney(playerid) < 1999)
              {
                 SendClientMessage(playerid, COLOR_YELLOW, "Nemáš dost peněz(2000) !"); //aj toto
              }else{
                 GetPlayerName(playerid, pname, 30);
                 format(string, 256, "Hráč %s si koupil řidičský průkaz!", pname);
                 SendClientMessageToAll(COLOR_YELLOW,string); //farba
                 GivePlayerMoney(playerid,-2000); //kolko vam to strhne za kupenie vodicaka
                 ridicak[playerid] = 1;
              }
           }
        }
     }
  }

Link to comment
Share on other sites

  • 0

proste mas spatne zavorky a ty ti to shodi :lol::lol: mas treba

 

public OnKozyJakoVozy()

{

sendlcientmess..

else {

return 1;//tady chyby jedna zavorka

}

 

a pod tim ams dalsi public

 

public VozyJakoKozy()

{

sendlcientmess..

else {

sendlcientmess..

}}//tady mas dve

return 1

}

 

hahaha :lol::lol::lol::lol:

Link to comment
Share on other sites

  • 0

LOl dobrej priklad :-D OnKozyJakoVozy -- To Oraj přiště napiš třeba:

"Zapnu samp server a napiše mi to aplikace přestala pracovat" nebo třeba: "Zobrazi se samp server ale hned se vypne" jak pak mame vědět co ti nejde spustit a tim padem bysme nemuseli vubec načinat stranku 5 (i když vlastně jo :-D)

Link to comment
Share on other sites

  • 0

:d zvykam :d lenze same chyby ale sak sa ucim na chybach..........

ten pokus o mod predtym som uz zmazal :d zacinam od zaciatku :)

teraz by som potreboval nastavit nejaky tanecek pri vybere postav :) a este by som potreboval ako si nastavim iba urcite skiny postav?

 

tu som si vybral skiny ale to urcite nestaci

 

AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//Skiny hracov

AddPlayerClass(56, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(63, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(82, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(87, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(100, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(101, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(111, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(141, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(142, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(143, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(169, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(171, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

AddPlayerClass(181, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

 

Link to comment
Share on other sites

  • 0

tanecek som si nasiel aj tancoval len ako si dam aby sa dalo vybrat iba z tychto charakterov/skinov/postav/id postav :d ja uz neviem ako to mam nazvat

54,56, 59,61,63, 68,82,87, 100,101, 111,127,141, 142,143, 169, 171,181,

 

//edit

error s povolaniami som vykumal :d

 

Este par HELPOV

este by som potreboval jak si ulozim povolanie a poslednu poziciu ??

v public OnPlayerDisconnect(playerid, reason)

dUserSetINT(PlayerName(playerid)).("iPlayerRole",iPlayerRole[playerid]);

ale aj tak to neulozi :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...