SA-MP Forums Archive
Sistema de trazer todos da facзao - 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: Sistema de trazer todos da facзao (/showthread.php?tid=618397)



Sistema de trazer todos da facзao - didimk157 - 05.10.2016

preciso de um sistema se vcs tiverem me mandem ae pfv se nao tiverem e quiser criar um me chama para ajuda so scripter iniciante to precisando aprender


Re: Sistema de trazer todos da facзao - Casttiel - 05.10.2016

Quote:
Originally Posted by didimk157
Посмотреть сообщение
preciso de um sistema se vcs tiverem me mandem ae pfv se nao tiverem e quiser criar um me chama para ajuda so scripter iniciante to precisando aprender

Uma base, adapte ao seu gosto.



PHP код:
new Faccao[MAX_PLAYERS];
CMD:darfaccao(playeridparams[])
{
    new 
id;
    if(
sscanf(params"u"id)) return SendClientMessage(playerid,-1"Use: darfaccao [ ID ] ");
    
Faccao[id] = 1;
    return 
true;
}
CMD:trazertodos(playeridparams[])
{
     new 
Float:Pos[3];
     
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
     for(new 
0i<MAX_PLAYERSi++)
     {
          if(
Faccao[i] != 0)
          {
               
SetPlayerPos(iPos[0], Pos[1], Pos[2]);
          }
     }
    return 
true;




Re: Sistema de trazer todos da facзao - didimk157 - 05.10.2016

Quote:
Originally Posted by Castiell
Посмотреть сообщение
Uma base, adapte ao seu gosto.



PHP код:
new Faccao[MAX_PLAYERS];
CMD:darfaccao(playeridparams[])
{
    new 
id;
    if(
sscanf(params"u"id)) return SendClientMessage(playerid,-1"Use: darfaccao [ ID ] ");
    
Faccao[id] = 1;
    return 
true;
}
CMD:trazertodos(playeridparams[])
{
     new 
Float:Pos[3];
     
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
     for(new 
0i<MAX_PLAYERSi++)
     {
          if(
Faccao[i] != 0)
          {
               
SetPlayerPos(iPos[0], Pos[1], Pos[2]);
          }
     }
    return 
true;

castiel add face ae https://www.********.com/grene.augusto


Re: Sistema de trazer todos da facзao - didimk157 - 28.10.2016

@VinteDois precisa de alguma include ?


Re: Sistema de trazer todos da facзao - FalcaoNC - 28.10.2016

Quote:
Originally Posted by didimk157
Посмотреть сообщение
@VinteDois precisa de alguma include ?
@VinteDois Que base em kkkkk...

@didimk157 Nгo precisa, mas aconselho vocк usar a base do Castiel ali em cima...


Re: Sistema de trazer todos da facзao - didimk157 - 28.10.2016

@FalcaoNC tipo eu tenho um comando de trazertodos mais ele n aparece o negoзo de aceitar ou recusar


Re: Sistema de trazer todos da facзao - Relaxed - 29.10.2016

Quote:
Originally Posted by didimk157
Посмотреть сообщение
@FalcaoNC tipo eu tenho um comando de trazertodos mais ele n aparece o negoзo de aceitar ou recusar
Vocк jб testou com outra pessoa no servidor? A dialog nгo vai aparecer pra vocк e sim para o player de sua facзгo ou organizaзгo. E prуximo tуpico coloque o Prйfixo, [Ajuda] ou [Pedido] dependendo do vocк pedir ou retirar dъvidas.