[Ajuda] Tags - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Tags (
/showthread.php?tid=643689)
Tags -
VinnyScript - 25.10.2017
opa caras, blz ? entao. estou com um pouco de dificuldade em fazer um sistema, na vdd nao um sistema e sim umas tags. meu servidor ja tem as tags de admins. mas queria por quando o player logasse e desse spawn aparece-se uma Dialog para escolher a tag que ele desejaria.
Ex - MotoVlog
Ex - Drift
Ex - Bandido
Ex - Policial
Ex - Civil (Pessoa Comun)
Re: Tags -
teto27 - 25.10.2017
E Simples Parceru ;
No OnPlayerSpawn
PHP код:
new str = "MotoVlog\nDrift\nBanido\nPolicial\nCivil";
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "Nametags", str, "Selecionar","Sair");
no ondialogresponse
PHP код:
if(dialogid == 0)
{
if(response) //botao de confirmar o 1
{
if(listitem== 0) //o item selecionado e o primeiro
{
//Dentro Dessas Chaves vc pхe As variaveis da tag e etc,
}
}
}
Re: Tags -
C4rtm4n - 25.10.2017
Tags -
https://sampwiki.blast.hk/wroot/index.ph...PT&redirect=no
Dialog -
https://sampforum.blast.hk/showthread.php?tid=119297
Re: Tags -
VinnyScript - 25.10.2017
Vllw Meus Brodi :v eu tava sem noзao de como faria, muito obrigado