09.05.2009, 06:25
How can I make a command like /jetpack,that will give the player a jetpack?

SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
Originally Posted by FreeSoul
How can I make a command like /jetpack,that will give the player a jetpack?
![]() |
if(strcmp(cmdtext,"/jetpack",true) == 0)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
CreatePickup(370,2,X,Y,Z);
SendClientMessage(playerid, COLOR_GREY, "* Spawned jetpack");
return 1;
}