How can I know?
#1

How can I know if a player is in a jetpack or has
done SetPlayerSpecialAction(playerid, 2);
Reply
#2

Simply get the special action for jetpack:

Код:
if(GetPlayerSpecialAction(playerid) == 2) //jetpack
{
  //player has jetpack
}
else
{
  //player hasnt got jetpack
}
Reply
#3

Quote:
Originally Posted by MummyKillerSLO
Simply get the special action for jetpack:

Код:
if(GetPlayerSpecialAction(playerid) == 2) //jetpack
{
 //player has jetpack
}
else
{
  //player hasnt got jetpack
}
thanks
Reply
#4

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by MummyKillerSLO
Simply get the special action for jetpack:

Код:
if(GetPlayerSpecialAction(playerid) == 2) //jetpack
{
 //player has jetpack
}
else
{
  //player hasnt got jetpack
}
thanks
Btw actually you answerd yourself in your own topic LOOL.
Reply
#5

Hi, how can I remove a jetpack after a player left it anywhere?

Sorry for going off-topic.
Reply
#6

Quote:
Originally Posted by SAWC™
Hi, how can I remove a jetpack after a player left it anywhere?

Sorry for going off-topic.
I think you can do it by streaming the pickup out. Let say you set a position 1000 meters away and then back again?
Reply
#7

Quote:
Originally Posted by SAWC™
Hi, how can I remove a jetpack after a player left it anywhere?

Sorry for going off-topic.
i think :
SetPlayerSpecialAction(playerid,0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)