Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define DH_Dialog 1 //Dialogo Definido
- new response;
- new listitem;
- new dialogid;
- public OnPlayerSpwan(playerid, dialogid[])
- {
- ShowPlayerDialog(playerid, DH_Dialog, DIALOG_STYLE_LIST, "Onde você deseja nascer?", "Mandante\nVisitante\nCBF", "Selecionar", "Sair");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid)
- if(dialogid == DH_Dialog)// Dialog Definido no TOPO !
- {
- if(response)
- {
- if(listitem == 0) // Esssa é Los Santos (1ª Lista/Opção)
- {
- SetPlayerPos(playerid, 2390.4866, 1029.0275, 10.8203); // Caso queira em outras coords, troque 1529.6, -1691.2, 13.3, conforme X,Y,Z
- }
- else if(listitem == 1) // Essa é San Fierro (2ª Lista/Opção)
- {
- SetPlayerPos(playerid, 1434.2554, 2658.3477, 11.3926); // Caso queira em outras coords, troque -1417.0, -295.8, 14.1, conforme X,Y,Z
- }
- else if(listitem == 2) // Essa é Las Venturas (3ª Lista/Opção)
- {
- SetPlayerPos(playerid, 1418.9954, 2155.6331, 29.6907); // Caso queira em outras coords, troque 1699.2, 1435.1, 10.7, conforme X,Y,Z
- return 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment