[PEDIDO] Entrar No Hunter. - 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: [PEDIDO] Entrar No Hunter. (
/showthread.php?tid=323313)
[PEDIDO] Entrar No Hunter. -
FriendrS - 05.03.2012
Como Faso Para so quem Tenha + que 10 de score podese entrar no hunter
e quem nao tivese Aparesese uma mensagem q removese o player do hunter.
Re: [PEDIDO] Entrar No Hunter. -
4LiSs0N - 05.03.2012
PHP код:
public OnPlayerStateChange( playerid , newstate, oldstate )
{
new vehicleid = GetPlayerVehicleID(playerid);
if( GetVehicleModel( vehicleid ) == 425 && GetPlayerScore ( playerid ) < 10 ) //Aqui So quem Tem +que 10 de Score Pode Conduzir o Hunter. o Numero "425" й Id do Hunter.
{
SendClientMessage( playerid , -1 , "[ERRO] Para conduzires um Hunter necessitas de 10 de score!"); //Messagem Para Aquele que Entrar Mais Nao tem + que 10 de Score.
RemovePlayerFromVehicle( playerid ); // Vai Retirar o Player do Hunter q Nao tiver mais que 10 de score.
}
return 1;
}
Re: [PEDIDO] Entrar No Hunter. -
FriendrS - 05.03.2012
Eu Ponho Aonde Isso No GM?
Re: [PEDIDO] Entrar No Hunter. -
Hancoc - 05.03.2012
Claro Ne Cabeзa