set time after each hour.
#5

Lol this doesn't work..l

pawn Код:
CMD:getcar(playerid, params[])
{
    new vehicle, Float:x, Float:y, Float:z;
    if(!CheckAdmin(playerid, ADMIN_LEVEL_1)) return NotAuthMSG(playerid);
    if(sscanf(params,"d",vehicle)) return SyntaxMSG(playerid, "/getcar [vehicleid]");
    if(vehicle == INVALID_VEHICLE_ID) return SCM(playerid, -1, "No such vehicle.");
    GetPlayerPos(playerid, x, y, z);
    SetVehiclePos(vehicle, x, y+4, z);
    SetVehicleVirtualWorld(vehicle, GetPlayerVirtualWorld(playerid));
    LinkVehicleToInterior(vehicle, GetInterior(playerid));
    return 1;
}
it doesn't show the No such vehicle msg.
Reply


Messages In This Thread
set time after each hour. - by PaulDinam - 17.02.2013, 14:15
Re: set time after each hour. - by DaRk_RaiN - 17.02.2013, 14:23
Re: set time after each hour. - by PaulDinam - 17.02.2013, 14:32
Re: set time after each hour. - by DaRk_RaiN - 17.02.2013, 15:02
Re: set time after each hour. - by PaulDinam - 17.02.2013, 16:43
Re: set time after each hour. - by bensmart469 - 17.02.2013, 16:51
Re: set time after each hour. - by PaulDinam - 17.02.2013, 17:04
Re: set time after each hour. - by MP2 - 17.02.2013, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)