[AJUDA] Sistema de Jetpack - 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] Sistema de Jetpack (
/showthread.php?tid=299243)
[AJUDA] Sistema de Jetpack -
isli27 - 25.11.2011
Sou novo na бrea, preciso de um cуdigo para admins exemplo :
/darjetpack ai guardar em .ini pra todas as vezes que ele logar carregar, e o meu Ant-Cheat nгo banir ...
Re: [AJUDA] Sistema de Jetpack -
Leo_Lost - 25.11.2011
Seu poblema ae https://sampforum.blast.hk/showthread.php?tid=295120, nem uso search tava na terceira pagina.
AW: [AJUDA] Sistema de Jetpack -
.CrazZy._.[De] - 25.11.2011
http://forum.sa-mp.com/search.php
Re: [AJUDA] Sistema de Jetpack -
_Jizzy_ - 25.11.2011
Seja feliz
Re: [AJUDA] Sistema de Jetpack -
|_MeGaTroN_| - 25.11.2011
Facil:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/jetpack", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
CreatePickup(370,3,X,Y,Z);
SendClientMessage(playerid,0x80FF00AA,"| INFO | Vocк criou um JetPack.");
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
return 1;
}
}
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
}
}
return 1;
}