Jump to content

Povolania cez dialog


Lax.

Recommended Posts

  • 1 month later...

Pls ja nemam public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])

ALe tak nič vytvoril som si ho...

 

Ale mam ini problem vypisuje mi tento error a tento war

undefined symbol "ShowPlayerDialog"

: warning 235: public function lacks forward declaration (symbol "OnDialogResponse")

ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Zamestnanie","SAPD - klik na zamestnať\nsa zamestnáš","Zamestnať","Nič")TOTO je riadok toho erroru pls helpnite :|

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

pls mam errory, co s tym?

 

 

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(104) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(106) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(109) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(118) : warning 209: function "OnDialogResponse" should return a value

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(296) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(306) : error 021: symbol already defined: "GivePlayerMoney"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(309) : error 021: symbol already defined: "TogglePlayerClock"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(310) : error 010: invalid function or declaration

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(492) : error 021: symbol already defined: "PlayerName"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(495) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

9 Errors.

 

Link to comment
Share on other sites

prosím mam errory, co s tym?

 

 

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(104) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(106) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(109) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(118) : warning 209: function "OnDialogResponse" should return a value

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(296) : error 017: undefined symbol "COLOR_MODRA"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(306) : error 021: symbol already defined: "GivePlayerMoney"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(309) : error 021: symbol already defined: "TogglePlayerClock"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(310) : error 010: invalid function or declaration

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(492) : error 021: symbol already defined: "PlayerName"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(495) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

9 Errors.

 

Máš to nadefinované?

Link to comment
Share on other sites

nemam pato jak to nadefinujem?

 

#define nahrada tohoto

 

Čiže

 

#define COLOR_MODRA 0000FFAA

 

Ak je to zle, tak ma prosím opravte, len sa to učím :)

Link to comment
Share on other sites

to mi uz doplo ale co stymto??

 

 

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(119) : warning 209: function "OnDialogResponse" should return a value

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(307) : error 021: symbol already defined: "GivePlayerMoney"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(310) : error 021: symbol already defined: "TogglePlayerClock"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(311) : error 010: invalid function or declaration

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(493) : error 021: symbol already defined: "PlayerName"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(496) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

5 Errors.

 

Link to comment
Share on other sites

to mi uz doplo ale co stymto??

 

 

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(119) : warning 209: function "OnDialogResponse" should return a value

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(307) : error 021: symbol already defined: "GivePlayerMoney"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(310) : error 021: symbol already defined: "TogglePlayerClock"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(311) : error 010: invalid function or declaration

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(493) : error 021: symbol already defined: "PlayerName"

D:\Hry\GTA SA\FlowGlass - Pawno\gamemodes\rs.pwn(496) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

5 Errors.

 

Tak to ti bude musieť pomôcť niekto zkúsenejší

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