/skydive choice
#3

Quote:
Originally Posted by Amel_PAtomAXx
Посмотреть сообщение
pawn Код:
if(strcmp( cmd, "/skydive", true ) == 0 )
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) {
        SendClientMessage(playerid, COLOR_GREY, "USAGE: /skydive [metters]");
        return 1;
    }
    new input;
    input = strval(tmp);
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    SetPlayerPos(playerid,X, Y, input);
    GivePlayerWeapon(playerid,46,1);
    return 1;
}
That failed to work...
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)