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(playerid, params[])
{
new id;
if(sscanf(params, "u", id)) return SendClientMessage(playerid,-1, "Use: darfaccao [ ID ] ");
Faccao[id] = 1;
return true;
}
CMD:trazertodos(playerid, params[])
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(Faccao[i] != 0)
{
SetPlayerPos(i, Pos[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(playerid, params[])
{
new id;
if(sscanf(params, "u", id)) return SendClientMessage(playerid,-1, "Use: darfaccao [ ID ] ");
Faccao[id] = 1;
return true;
}
CMD:trazertodos(playerid, params[])
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(Faccao[i] != 0)
{
SetPlayerPos(i, Pos[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.