n3cro 0 Odesláno: 8. Únor, 2018 Share Odesláno: 8. Únor, 2018 Zdravím , často mám problem s ShowPlayerDialog a nevím jak to opravit pomůže mi někdo ? D:\NOVEEEE\PRACESYSTEM\JOB.pwn(72) : error 017: undefined symbol "ShowPlayerDialog" 1 Error ------------------------------------------------------------------------------------ CMD:jobs(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_PCLASS, DIALOG_STYLE_LIST, "Jobs Selection", "Sailor\nPolice Officer\nWorker\nJudge", "Ok", "Close"); return 1; } Link to comment Share on other sites More sharing options...
2 Administrátor Ewwe 434 Odesláno: 8. Únor, 2018 Administrátor Share Odesláno: 8. Únor, 2018 zkus si zaktualizovat includy u mě kompilace proběhla v pořádku Link to comment Share on other sites More sharing options...
1 Administrátor Ewwe 434 Odesláno: 8. Únor, 2018 Administrátor Share Odesláno: 8. Únor, 2018 Hele asi si zkus z aktualizovat includy u mě compilace proběhla bez problému 1 Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 8. Únor, 2018 Administrátor Share Odesláno: 8. Únor, 2018 Máš a_samp ? 1 Link to comment Share on other sites More sharing options...
0 n3cro 0 Odesláno: 8. Únor, 2018 Author Share Odesláno: 8. Únor, 2018 Ano mám . Přikládám FS : /* SA-MP Job(s) System Copyright © 2009-2015 Hardicore Allright Reserved ® Hardicore (Jobs System / Credits: Hardicore) Tested By: (ReginaFC, Valve) Usage: /jobs */ #include <a_samp> #include <zcmd> //***************************** // Dialogs ******************** //***************************** #define DIALOG_PCLASS 100 public OnFilterScriptInit() { AddStaticVehicle(453, 415, -1927, -0, 4, 4, 50); AddStaticVehicle(490, 1535, -1668, 13, 0, 0, 50); AddStaticVehicle(498, 927, -1048, 13, 0, 0, 50); AddStaticVehicle(400, 1482, -1737, 13, 0, 1, 50); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_PCLASS) { if(response) { switch(listitem) { case 0: { SetPlayerPos(playerid, 414, -1929, 0); GivePlayerWeapon(playerid, 7, 1); SetPlayerSkin(playerid, 35); SendClientMessage(playerid, 0xffff, "Teď jsi A/An Námořník- Sailor"); } case 1: { SetPlayerPos(playerid, 1546, -1675, 13); GivePlayerWeapon(playerid, 24, 600); SetPlayerSkin(playerid, 266); SendClientMessage(playerid, 0xfffff, "Pracuješ jako A/An Policista- Police Officer"); } case 2: { SetPlayerPos(playerid, 914, -1038, 31); GivePlayerWeapon(playerid, 6, 1); SetPlayerSkin(playerid, 268); SendClientMessage(playerid, 0xffffff, "Teď jsi A/An Pracovník-Worker"); } case 3: { SetPlayerPos(playerid, 914, -1038, 31); GivePlayerWeapon(playerid, 6, 1); SetPlayerSkin(playerid, 228); SendClientMessage(playerid, 0xffffff, "Pracuješ jako A/An Soudce- Judge"); } } } return 1; } return 0; } CMD:jobs(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_PCLASS, DIALOG_STYLE_LIST, "Jobs Selection", "Sailor\nPolice Officer\nWorker\nJudge", "Ok", "Close"); return 1; } Link to comment Share on other sites More sharing options...
0 n3cro 0 Odesláno: 8. Únor, 2018 Author Share Odesláno: 8. Únor, 2018 (upraveno) Jo v pořádku děkuju Edited 8. Únor, 2018 by n3cro Link to comment Share on other sites More sharing options...
Dotaz
n3cro 0
Zdravím ,
často mám problem s ShowPlayerDialog a nevím jak to opravit
pomůže mi někdo ?
D:\NOVEEEE\PRACESYSTEM\JOB.pwn(72) : error 017: undefined symbol "ShowPlayerDialog" 1 Error ------------------------------------------------------------------------------------ CMD:jobs(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_PCLASS, DIALOG_STYLE_LIST, "Jobs Selection", "Sailor\nPolice Officer\nWorker\nJudge", "Ok", "Close"); return 1; }
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now