Pomoc oko jetpacka

Započeo Jiky, Mart 08, 2019, 13:26:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Potreban mi je cmd za jetpack molim vas , samo da da meni treba (da da onome koji upise cmd)
da mogu koristiti < 3
admini veci od  a3

Prilagodi modu
[pawn]COMMAND:jetpack(playerid,params[])
{
   if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid,-1,"Nisi ovlascen");
   if( GetPlayerSpecialAction( playerid ) == SPECIAL_ACTION_USEJETPACK )
   {
      new Float:a,Float:b,Float:c;
      GetPlayerPos( playerid, a, b, c);
      SetPlayerPos( playerid, a, b, c+3);
   }
   else
   {
       SetPlayerSpecialAction( playerid, SPECIAL_ACTION_USEJETPACK);
      }
   return 1;
}[/pawn]

[pawn]YCMD:jetpack(playerid, params[], help)
{
    #pragma unused help
   #pragma unused params
   if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid,-1,""SPLAVA"[BS:RP] "SIVA"Samo Admini (AL 3+)!");
    if(AdminDuty[playerid] == 0) return SendClientMessage(playerid,-1,""CRVENA"[BS:RP] "SIVA"Morate biti na admin duznosti!");
   SendClientMessage(playerid, -1, "Uzeli ste jetpack!");
   SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
   return 1;
}[/pawn]

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif

Citat: á—ªå,ä¹, poslato Mart 08, 2019, 13:37:21 POSLE PODNE
[pawn]YCMD:jetpack(playerid, params[], help)
{
    #pragma unused help
   #pragma unused params
   if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid,-1,""SPLAVA"[BS:RP] "SIVA"Samo Admini (AL 3+)!");
    if(AdminDuty[playerid] == 0) return SendClientMessage(playerid,-1,""CRVENA"[BS:RP] "SIVA"Morate biti na admin duznosti!");
   SendClientMessage(playerid, -1, "Uzeli ste jetpack!");
   SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
   return 1;
}[/pawn]


ty <3