/skydive choice
#5

pawn Код:
if(!strcmp(cmdtext, "/chuter", true, 7))
{
    if(!cmdtext[7]) // return usage: /chuter [amount of meters they want to go]
    new Float:zPos = floatstr(cmdtext[8]);
    if(!zPos) // return error: must be more than 0
    new Float:pPos[3];
    GivePlayerWeapon(playerid,46,1);
    GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]);
    SetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]+zPos);
    return 1;
}
Reply


Messages In This Thread
/skydive choice - by cray1100 - 01.08.2013, 23:12
Re: /skydive choice - by Amel_PAtomAXx - 02.08.2013, 00:57
Re: /skydive choice - by cray1100 - 02.08.2013, 01:10
Re: /skydive choice - by Amel_PAtomAXx - 02.08.2013, 01:11
Re: /skydive choice - by Jefff - 02.08.2013, 01:17
Re: /skydive choice - by cray1100 - 03.08.2013, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)