[Ajuda] portao[permissao] - 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] portao[permissao] (
/showthread.php?tid=436445)
portao[permissao] -
VeNuZ_ - 11.05.2013
pawn Код:
if(strcmp(cmdtext, "/portao1", true) == 0)
{
new string[50];
new movetime = MoveObject(portao, -1540.0000000,482.0000000,9.0000000, 2.00);
format(string, sizeof(string), "O portao esta a abrir!", movetime);
SendClientMessage(playerid, 0xFF000000, string);
return 1;
}
queria que verifica-se se e do gang 1, porque se nao for nao queria que abri-se..
Re: portao[permissao] -
Cidiei - 11.05.2013
Veja este cуdigo!
pawn Код:
if(strcmp(cmdtext, "/portao1", true) == 0)
{
if(GangVariavel[playerid] == 1)//Troque o GangVariavel pela do seu script!
{
new string[50];
new movetime = MoveObject(portao, -1540.0000000,482.0000000,9.0000000, 2.00);
format(string, sizeof(string), "O portao esta a abrir!", movetime);
SendClientMessage(playerid, 0xFF000000, string);
}
return 1;
}
Re: portao[permissao] -
VeNuZ_ - 11.05.2013
Pois eu aind anao tanho a gang variavel e nao encontro nenhum tuturial me pode esplicaR?
Re: portao[permissao] -
Delete_ - 11.05.2013
Poste algum comando que precise checar a gang do player.
Re: portao[permissao] -
Cidiei - 11.05.2013
Quote:
Originally Posted by VeNuZ_
Pois eu aind anao tanho a gang variavel e nao encontro nenhum tuturial me pode esplicaR?
|
Seu gamemode nгo tem gangue?
Re: portao[permissao] -
VeNuZ_ - 11.05.2013
Eu nгo tanho isso eu queria um sistema de registo que fize-se isso ma snao encontro, tentei por o JFS registros, mas da erros...
Re: portao[permissao] -
VeNuZ_ - 11.05.2013
Ja resolvi obrigado
Re: portao[permissao] -
Cidiei - 11.05.2013
Ei Venuz foi vocк que me avaliou negativamente? Ou tem algum abuser fazendo isso?
Re: portao[permissao] -
VeNuZ_ - 11.05.2013
Nгo fui eu xD deve aver algum user abusando disso cara