Jump to content
  • 0

pomoc pls help


Guest StReeY [Dinti]

Dotaz

Guest StReeY [Dinti]

cawko newiem si s tym radi

 

E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(1661) : error 014: invalid statement; not in switch
E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(1661) : warning 215: expression has no effect
E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(1661) : error 001: expected token: ";", but found ":"
E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(1661) : error 029: invalid expression, assumed zero
E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(1661) : fatal error 107: too many error messages on one line

 

riadok 1661 je tu

case 1:

 

uz mi niekto rikal ze mi chyba nejaky switch ci co ale newem ho nájst

Link to comment
Share on other sites

12 odpovědí na tuto otázku

Recommended Posts

  • 0
Guest StReeY [Dinti]

ale kde to mam presne pridat alebo ako to ma vyzerat ked mam napriklad taký propertis ?

 

if (Current == kupmenu) {
switch(row) {
case 0:{
if(vlastnik[playerid] == 0) //Ak nie je vlastník
{
if(GetPlayerMoney(playerid) >= 50000)
{
GivePlayerMoney(playerid,-50000);
for(new i=0; i{
if(IsPlayerConnected(i) && vlastnik[i]==1)
{
vlastnik[i]=0;
}
}
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "Hráč %s sa stal vlastníkom Wangu.", pname);
SendClientMessageToAll(COLOR_GREEN, string);
vlastnik[playerid] = 1;
        }else{
SendClientMessage(playerid,COLOR_GREEN," Nemáš 50000.");
     }
   }else{
SendClientMessage(playerid,COLOR_GREEN,"Už vlastníš tuto budovu.");
}
		case 1:
		    {
		    }
		}
}

Link to comment
Share on other sites

  • 0

Na nemovitosti doporucuji CZproperty ...zadne srani s tim ...zabere min mista :d a navic je vse predchystane v includu ( ochranka atd..) a muzete si to vymazat co nechcete ...

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

no skusil som cez ten inclund czproperty ale mne to nejak nejde ak stupim do pickupu nic mi to nenapise a este k tomu nemam kupene ani propertis a dava mi to vyplatu :(

Link to comment
Share on other sites

  • 0

pokud to udelas podle tho czproperty tak jak je tu udelanej navod ...tak by to melo farat na 100% ...jenze pokud to mas blbe tak nvm ...a ani nvm co mas za chyby nebo pise ti to errors ? ...mas nekde neco blbe :d

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

prave ze ziadny error nemam ani waring , robil som to cez tut czproperty od teba , da mi to pickup na spravne miesto a pridem k nemu a nic sa nedeje a k tomu mi to dava hned vyplaty aj ked to nemam kupene :(

Link to comment
Share on other sites

  • 0
Guest StReeY [Dinti]

E:\DOCUME~1\matus\Plocha\servery\SA_MP_~1.2_W\GAMEMO~1\Eos.pwn(4) : fatal error 100: cannot read from file: "CZproperty"

 

ted mi to dela toto !!! aj ked ten include mam vlozeny v slozke include

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...