How can I know? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can I know? (
/showthread.php?tid=151088)
How can I know? -
ViruZZzZ_ChiLLL - 29.05.2010
How can I know if a player is in a
jetpack or has
done SetPlayerSpecialAction(playerid, 2);
Re: How can I know? -
MummyKillerSLO - 29.05.2010
Simply get the special action for jetpack:
Код:
if(GetPlayerSpecialAction(playerid) == 2) //jetpack
{
//player has jetpack
}
else
{
//player hasnt got jetpack
}
Re: How can I know? -
ViruZZzZ_ChiLLL - 29.05.2010
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
Re: How can I know? -
playbox12 - 29.05.2010
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.
Re: How can I know? -
Miguel - 29.05.2010
Hi, how can I remove a jetpack after a player left it anywhere?
Sorry for going off-topic.
Re: How can I know? -
Goobiiify - 29.05.2010
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?
Re: How can I know? -
aircombat - 29.05.2010
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);