Jetpack Command
#1

Hey everyone.

I have just made an Jetpack command, but I want to do so I can remove it also. I got one command, but after some few secounds the jetpack spawns again.
Here is the code to remove:

PHP код:
if(strcmp(cmdtext,"/rjetpack",true) == 0// By Ltzboy
    
{
        if(
PlayerInfo[playerid][pAdmin] == 1338)
        {
         new 
Float:XFloat:YFloat:Z;
        
GetPlayerPos(playeridXYZ);
        
SetPlayerPos(playeridXYZ);
        
SetPlayerSpecialAction(playeridSPECIAL_ACTION_NONE);
        
SendClientMessage(playeridRED"Jetpack Removed.");
        }
        else
        {
                  
SendClientMessage(playerid0xAA0000AA"You Have To Be A Level 1338 Admin To Use This!");
        }
        return 
1;
    } 
Reply


Messages In This Thread
Jetpack Command - by Ltz-boy - 12.08.2011, 15:59
Re: Jetpack Command - by [MG]Dimi - 12.08.2011, 16:01
Re: Jetpack Command - by Ltz-boy - 12.08.2011, 16:04
Re: Jetpack Command - by [MG]Dimi - 12.08.2011, 16:10
[No subject] - by Ltz-boy - 12.08.2011, 16:11
Re: Jetpack Command - by [MG]Dimi - 12.08.2011, 16:14
Re: Jetpack Command - by Ltz-boy - 12.08.2011, 16:17
Re: Jetpack Command - by grand.Theft.Otto - 12.08.2011, 16:23
Re: Jetpack Command - by Ltz-boy - 12.08.2011, 16:24
Re: Jetpack Command - by grand.Theft.Otto - 12.08.2011, 16:28

Forum Jump:


Users browsing this thread: 2 Guest(s)