Compiling error...+rep for solution
#1

i added this cmd to the moneybag script

pawn Код:
if(!strcmp("/mbdis", cmdtext, true))
    {
        new string[64];
        new distance = GetPlayerDistanceFromPoint(playerid, MoneyBagPos[0], MoneyBagPos[1], MoneyBagPos[2]);
        format(string, sizeof(string), "The MoneyBag is %i meters away", distance);
        SendClientMessage(playerid, -1, string);
    }
full code: http://pastebin.com/UtUsMXG2

i am getting this errors

C:\DOCUME~1\SAIKUM~1\Desktop\Server\Gm\MONEYB~1.PW N(567) : error 017: undefined symbol "playerid"
C:\DOCUME~1\SAIKUM~1\Desktop\Server\Gm\MONEYB~1.PW N(567) : warning 213: tag mismatch
C:\DOCUME~1\SAIKUM~1\Desktop\Server\Gm\MONEYB~1.PW N(569) : error 017: undefined symbol "playerid"
C:\DOCUME~1\SAIKUM~1\Desktop\Server\Gm\MONEYB~1.PW N(580) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.






my aim is to make a command that shows that how many meters the player is away from the pickup ot moneyag
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: 2 Guest(s)