Error when compile.
#1

Hello i just make /fcar park commands which means that just leader (boss) of factions can park faction vehicle.
And WHen i comppile i get this:
pawn Код:
(28594) : error 004: function "SetCarPos" is not implemented
And here is the lines:
pawn Код:
if(strcmp(cmd, "/fcar", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
        if(IsAMember(playerid) || IsACop(playerid) || PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pMember] == 3)
        {
            new fam = PlayerInfo[playerid][pMember];
            new x_job[256];
            x_job = mystrtok(cmdtext, idx);
            if(!strlen(x_job))
            {
                SendClientMessage(playerid, COLOR_GREY,".: Usage: /fcar [tow/more soon] :.");
                return 1;
            }
            if(strcmp(x_job,"tow",true) == 0)
            {
                if(IsHighRank(playerid))
                {
                    GivePlayerMoney(playerid,-10000);
                    Money[playerid] -= 10000;
                    FamilyInfo[fam][fMoney] += 10000;
                    RespawnFactionVehicles(playerid);
                }
            }
            if(strcmp(x_job,"park",true) == 0)
            {
                if(IsHighRank(playerid))
                {
                    GivePlayerMoney(playerid,-10000);
                    Money[playerid] -= 10000;
                    FamilyInfo[fam][fMoney] += 10000;
                    SetCarPos(carid);
                }
            }
Please tell me what should i do.
Reply


Messages In This Thread
Error when compile. - by deltapro - 22.02.2012, 18:12
Re: Error when compile. - by Toreno - 22.02.2012, 18:25
Re : Error when compile. - by deltapro - 22.02.2012, 18:37
Re: Error when compile. - by Toreno - 22.02.2012, 18:47
Re : Error when compile. - by deltapro - 22.02.2012, 18:48
Re: Error when compile. - by Konstantinos - 22.02.2012, 18:55
Re : Error when compile. - by deltapro - 22.02.2012, 19:22
Re: Error when compile. - by Konstantinos - 22.02.2012, 19:30

Forum Jump:


Users browsing this thread: 3 Guest(s)