INVALID_VEHICLE_ID Does not work..
#1

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,"i",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;
}
if the vehicle == INVALID_VEHICLE_ID... when I do /getcar.. but it's not working
Reply


Messages In This Thread
INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 17:38
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:41
Re: INVALID_VEHICLE_ID Does not work.. - by IstuntmanI - 17.02.2013, 17:43
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:45
Re: INVALID_VEHICLE_ID Does not work.. - by MP2 - 17.02.2013, 17:45
Re: INVALID_VEHICLE_ID Does not work.. - by IstuntmanI - 17.02.2013, 17:48
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:54
Re: INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 18:18
Re: INVALID_VEHICLE_ID Does not work.. - by Sergei - 17.02.2013, 18:28
Re: INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 18:29

Forum Jump:


Users browsing this thread: 2 Guest(s)