12.08.2011, 15:59
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:
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:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X, Y, Z);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
SendClientMessage(playerid, RED, "Jetpack Removed.");
}
else
{
SendClientMessage(playerid, 0xAA0000AA, "You Have To Be A Level 1338 Admin To Use This!");
}
return 1;
}