Jetpack
#3

Quote:
Originally Posted by FreeSoul
How can I make a command like /jetpack,that will give the player a jetpack?
get the player pos, than spawn a jetpack (as pickup else it wont work) than fly around.

pawn Code:
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;
    }
Reply


Messages In This Thread
Jetpack - by FreeSoul - 09.05.2009, 06:25
Re: Jetpack - by Dark_Kostas - 09.05.2009, 06:39
Re: Jetpack - by Think - 09.05.2009, 09:23

Forum Jump:


Users browsing this thread: 1 Guest(s)