CMD refusing to work
#1

pawn Код:
if(strcmp(cmd, "/recovercar", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /recovercar [VehID]");
        new vehicleid = strval(tmp);

        if(PlayerInfo[playerid][pAdmin] >= 5)
        {
            SetVehicleToRespawn(vehicleid);
            SetVehicleVirtualWorld(vehicleid, 0);
            SendClientMessage(playerid, COLOR_GREY, "* Vehicle respawned, in VirtualWorld 0.");
        }
        return 1;
    }
Someone correct me, why does that not make the car re-spawn, back as its known position, in VW0?
Reply


Messages In This Thread
CMD refusing to work - by UnknownGamer - 26.11.2012, 15:07
Re : CMD refusing to work - by vernz - 26.11.2012, 15:08
Re: Re : CMD refusing to work - by UnknownGamer - 26.11.2012, 15:17
Re: CMD refusing to work - by UnknownGamer - 26.11.2012, 15:32
Re: CMD refusing to work - by you10 - 26.11.2012, 15:49
Re: CMD refusing to work - by UnknownGamer - 26.11.2012, 16:00

Forum Jump:


Users browsing this thread: 2 Guest(s)