Compiling error...+rep for solution
#6

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
and it is a Float, right ?

(EDIT :- or add it in OnPlayerCommandText >> "public OnPlayerCommandText(playerid, cmdtext[])")
thats what i did

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

    if(!strcmp("/mbdis", cmdtext, true))
    {
        new string[64];
        new Float: distance = GetPlayerDistanceFromPoint(playerid, MoneyBagPos[0], MoneyBagPos[1], MoneyBagPos[2]);
        format(string, sizeof(string), "The MoneyBag is %.1f meters away", distance);
        SendClientMessage(playerid, -1, string);
        return 1;
    }
please help me somebody...
Reply


Messages In This Thread
Compiling error...+rep for solution - by saikumar - 12.05.2014, 16:32
Re: Compiling error...+rep for solution - by Stanford - 12.05.2014, 16:32
Re: Compiling error...+rep for solution - by saikumar - 12.05.2014, 16:35
Re: Compiling error...+rep for solution - by SAMProductions - 13.05.2014, 04:34
Re: Compiling error...+rep for solution - by IceBilizard - 13.05.2014, 04:40
Re: Compiling error...+rep for solution - by saikumar - 13.05.2014, 04:42
Re: Compiling error...+rep for solution - by Lynn - 13.05.2014, 04:48
Re: Compiling error...+rep for solution - by IceBilizard - 13.05.2014, 04:50
Re: Compiling error...+rep for solution - by saikumar - 13.05.2014, 05:07
Re: Compiling error...+rep for solution - by BroZeus - 13.05.2014, 05:46

Forum Jump:


Users browsing this thread: 4 Guest(s)