[Ajuda] /Handsup - 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] /Handsup (
/showthread.php?tid=435344)
/Handsup -
Wendell - 06.05.2013
Bloquear esse comando pra Cop , como faзo ? quando algum Cop digitar /handsup ,aparecer a mensagem dizendo que ele й COP .
pawn Код:
if (strcmp(cmd, "/handsup", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "O Suspeito(a) %s digitou /handsup !.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return true;
}
Re: /Handsup -
smiiir - 06.05.2013
manda a variбvel de Cops
Re: /Handsup -
ProKillerpa - 06.05.2013
pawn Код:
if (strcmp(cmd, "/handsup", true) == 0)
{
if (IsACop(playerid))
return SendClientMessage ( playerid, -1, "|ERRO| Vocк nгo й um policial!" ) ;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "O Suspeito(a) %s digitou /handsup !.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
}
return true;
}
Tenta aн :]
@ Identaзгo tensa :/
Respuesta: /Handsup -
Wendell - 06.05.2013
Re: /Handsup -
smiiir - 06.05.2013
PHP код:
if (strcmp(cmd, "/handsup", true) == 0)
{
if ( IsACop (playerid ) )
return SendClientMessage ( playerid, -1, "[ ERRO ]: Vocк й policial nгo pode usar este comando" ) ;
GetPlayerName ( playerid, sendername, sizeof ( sendername ) ) ;
format ( string, sizeof ( string ), "O Suspeito(a) %s digitou /handsup !.", sendername ) ;
ProxDetector ( 30.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE ) ;
SetPlayerSpecialAction ( playerid, SPECIAL_ACTION_HANDSUP ) ;
return true;
}
Re: /Handsup -
ViictorDaay- - 06.05.2013
PHP код:
if (strcmp(cmd, "/handsup", true) == 0)
{
if(IsACop(playerid)) {
SendClientMessage(playerid, -1,"Vocк й um COP");
}
else if {
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "O Suspeito(a) %s digitou /handsup !.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
}
return true;
}
Re: /Handsup -
VitorMFig - 06.05.2013
if(IsACop(playerid)
Respuesta: /Handsup -
Wendell - 06.05.2013
Obrigado a todos , + Rep pra vocкs .
Re: /Handsup -
willian Franco - 06.05.2013
quer ganhar dinheiro na interneti enta aiii
http://www.recargaecapital.com.br/?aff=willocnarf
muitooo bom