Anti jetpack
#8

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Just something like this:

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys

    if ((
newkeys KEY_SECONDARY_ATTACK) && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK
    { 
        new 
Float:XFloat:YFloat:Z;  
        
GetPlayerPos(playeridXYZ),SetPlayerPos(playeridXYZ);  
        
SetPlayerSpecialAction(playeridSPECIAL_ACTION_NONE);
    } 
    return 
1

Ok but where do i place the ServerJetpack bool to check it?

Quote:
Originally Posted by Florin48
Посмотреть сообщение
solved?
Not yet.
Reply


Messages In This Thread
Anti jetpack - by SymonClash - 29.01.2019, 16:29
Re: Anti jetpack - by Nathan94 - 29.01.2019, 23:57
Re: Anti jetpack - by SymonClash - 30.01.2019, 08:30
Re: Anti jetpack - by Kaliber - 30.01.2019, 10:41
Re: Anti jetpack - by SymonClash - 30.01.2019, 11:02
Re: Anti jetpack - by Kaliber - 30.01.2019, 11:13
Re: Anti jetpack - by Florin48 - 30.01.2019, 11:42
Re: Anti jetpack - by SymonClash - 30.01.2019, 12:56
Re: Anti jetpack - by Kaliber - 30.01.2019, 12:59
Re: Anti jetpack - by Florin48 - 30.01.2019, 15:14

Forum Jump:


Users browsing this thread: 3 Guest(s)