How do i fix this command?
#9

pawn Код:
if(!strcmp("/wall", cmdtext, true))
    {
        if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, red, "You need $20,000$");
        new Float:Pos[4];
        GetPlayerFacingAngle(playerid, Pos[0]);
        GetPlayerPos(playerid, Pos[1], Pos[2], Pos[3]);
        Pos[1] += floatmul(5.0, floatsin(-Pos[0], degrees));
        Pos[2] += floatmul(5.0, floatcos(-Pos[0], degrees));
        CreateObject(974, Pos[1], Pos[2], Pos[3], 0, 0, 0);
        GivePlayerMoney(playerid, -20000);
        return 1;
    }
Reply


Messages In This Thread
How do i fix this command? - by Drift_04 - 23.03.2009, 02:17
Re: How do i fix this command? - by [HiC]TheKiller - 23.03.2009, 05:28
Re: How do i fix this command? - by Drift_04 - 23.03.2009, 06:11
Re: How do i fix this command? - by MenaceX^ - 23.03.2009, 08:59
Re: How do i fix this command? - by Dujma - 23.03.2009, 09:01
Re: How do i fix this command? - by MenaceX^ - 23.03.2009, 09:04
Re: How do i fix this command? - by Dujma - 23.03.2009, 09:08
Re: How do i fix this command? - by Drift_04 - 23.03.2009, 14:17
Re: How do i fix this command? - by Nero_3D - 23.03.2009, 15:01
Re: How do i fix this command? - by Drift_04 - 23.03.2009, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)