Jump to content

Povolání


chytrak

Recommended Posts

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

hosi uz mam i pickup ale jsou tam zase chyby pls proadte co s nima

 

 

public OnGameModeInit()

{

Pickup[1] = CreatePickup(62,-1546.7349,-440.1972,6.0000,43.); //

Pickup[2] = CreatePickup(0,-1871.5999,-217.8635,18.3750,272.); //

Pickup[3] = CreatePickup(0,-1862.2435,-143.3479,11.9051,357.5179,0,0,0,0,0,0); //

Pickup[4] = CreatePickup(0,-1819.5277,-150.7128,9.3984,179.5745,0,0,0,0,0,0); //

Pickup[5] = CreatePickup(0,-1708.4113,397.5136,7.1797,230.0881,0,0,0,0,0,0); //

Pickup[6] = CreatePickup(0,-1673.8444,430.6249,7.1797,229.7474,0,0,0,0,0,0); //

Pickup[7] = CreatePickup(0,-1527.4836,485.8373,7.1797,92.1620,0,0,0,0,0,0); //

Pickup[8] = CreatePickup(0,-1619.9056,691.2635,7.1875,172.2518,0,0,0,0,0,0); //

Pickup[9] = CreatePickup(0,-1982.9867,137.5336,27.6875,91.1319,0,0,0,0,0,0); //

Pickup[10] = CreatePickup(0,-2117.2476,162.0282,35.7873,290.9598,0,0,0,0,0,0); //

Pickup[11] = CreatePickup(0,-2960.8179,482.0112,4.9088,215.0020,0,0,0,0,0,0); //

Pickup[12] = CreatePickup(0,-2657.0889,628.9362,14.4531,172.3694,0,0,0,0,0,0); //

Pickup[13] = CreatePickup(0,-2620.4468,1412.4111,7.0938,220.1575,0,0,0,0,0,0); //

Pickup[14] = CreatePickup(0,-1956.2478,1090.2515,55.6672,85.2521,0,0,0,0,0,0); //

Pickup[15] = CreatePickup(0,-1987.9172,1117.9235,54.4744,272.1906,0,0,0,0,0,0); //

Pickup[16] = CreatePickup(0,-1954.5319,303.9407,35.4688,181.4652,0,0,0,0,0,0); //

 

 

A chyby : ---->

 

 

C:\Users\Honza\Desktop\Untitled.pwn(37) : warning 213: tag mismatch

C:\Users\Honza\Desktop\Untitled.pwn(37) : error 001: expected token: ",", but found "."

C:\Users\Honza\Desktop\Untitled.pwn(37) : error 029: invalid expression, assumed zero

C:\Users\Honza\Desktop\Untitled.pwn(37) : error 029: invalid expression, assumed zero

C:\Users\Honza\Desktop\Untitled.pwn(37) : fatal error 107: too many error messages on one line

 

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

4 Errors.

 

 

a 37 radek: --->

Pickup[1] = CreatePickup(62,-1546.7349,-440.1972,6.0000,43.); //

Link to comment
Share on other sites

  • 2 weeks later...
Guest [TFC]M4r3k

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(224) : warning 225: unreachable code

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(227) : warning 209: function "OnGameModeInit" should return a value

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(266) : error 017: undefined symbol "playerid"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(269) : error 017: undefined symbol "playerid"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(270) : error 017: undefined symbol "playerid"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(271) : error 017: undefined symbol "playerid"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(271) : error 017: undefined symbol "zbrane"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(271) : error 017: undefined symbol "naboju"

C:\Documents and Settings\Tyypeek96\Plocha\Real.pwn(271) : fatal error 107: too many error messages on one line

 

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

poradí mi někdo pls? :d

7 Errors.

Link to comment
Share on other sites

Určitě máš něco v OnGameModeInt kde je playerid,na 90 %..ale dej řádky

 

227

 

a 269 je neco jinyho takže to už nemusi bejt v ongamemodeinit navic piše to že nema return na 227 takže pak už nemuže bejt na 269 gamemodeinit ne?

Link to comment
Share on other sites

  • 2 weeks later...

Promiňte, ale chtěl bych se zeptat, jestli by nešlo udělat víc PickUpu se stejným Menu, aby se nemuselo vytvářet třeba new policiepick; new policie2pick; a pak new Menu:policie; new Menu:policie2; ale stečilo by jen to jedno pro víc PickUpu šlo by to já jsem něco zkoušel ale menu se zobrazovalo jen u jednoho pickupu né u toho druhého

Link to comment
Share on other sites

Ty myslíš jako:

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == policepick)
{
ShowMenuForPlayer(policepick,playerid);
}
return 1;
}

A nebo:

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == policepick)
{
ShowMenuForPlayer(policepick,playerid);
          ShowMenuForPlayer(policepick,playerid);
}
return 1;
}

??

Link to comment
Share on other sites

  • 2 months later...
TOTO SPAWN JE DO ON PLAYER SPAWN NE xD a good

jinak v pohodě? "lol"

 

jinak ty si v pohode? tak isto spamujes jak i on :) tak radsi drz hu*u protoze i tobe dam navrh na ban/var !!

Link to comment
Share on other sites

  • 3 months later...

Lidi poteřebuju nutně poradit píš mi to errory:

C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(87) : warning 213: tag mismatch
C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(87) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(185) : error 017: undefined symbol "string"
C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(185) : error 017: undefined symbol "string"
C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(185) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mysterio619\Plocha\Mod.pwn(185) : fatal error 107: too many error messages on one line

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